summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKévin Gomez <geek63@gmail.com>2012-04-21 02:39:32 -0700
committerKévin Gomez <geek63@gmail.com>2012-04-21 02:39:32 -0700
commitb0411940739f2b7c4428403ed957eaa1b2eed053 (patch)
tree6314b2aa3909b89f31a1247251ffcdc4f6a4ca01
parent706e25e55ab7e61800af0a3486399274196b0730 (diff)
parent787da2b30cef9dd21ad3282b4a031f6ceb81e405 (diff)
downloadjquery-week-calendar-b0411940739f2b7c4428403ed957eaa1b2eed053.zip
jquery-week-calendar-b0411940739f2b7c4428403ed957eaa1b2eed053.tar.gz
jquery-week-calendar-b0411940739f2b7c4428403ed957eaa1b2eed053.tar.bz2
Merge pull request #133 from crevillo/_title-is-not-defined-error
Fixed _title is not defined error
-rw-r--r--jquery.weekcalendar.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jquery.weekcalendar.js b/jquery.weekcalendar.js
index db845a1..6f56763 100644
--- a/jquery.weekcalendar.js
+++ b/jquery.weekcalendar.js
@@ -1327,11 +1327,11 @@
date_format = options.dateFormat;
// replace the placeholders contained in the title
- title = _title.replace('%start%', self._formatDate(start, date_format));
- title = _title.replace('%end%', self._formatDate(end, date_format));
- title = _title.replace('%date%', self._formatDate(date, date_format));
+ title = title.replace('%start%', self._formatDate(start, date_format));
+ title = title.replace('%end%', self._formatDate(end, date_format));
+ title = title.replace('%date%', self._formatDate(date, date_format));
- $('.wc-toolbar .wc-title', self.element).html(_title);
+ $('.wc-toolbar .wc-title', self.element).html(title);
}
//self._clearFreeBusys();
},