Skip to content

Commit

Permalink
Fixed _title is not defined error
Browse files Browse the repository at this point in the history
  • Loading branch information
crevillo committed Apr 21, 2012
1 parent 706e25e commit 787da2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jquery.weekcalendar.js
Expand Up @@ -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();
},
Expand Down

0 comments on commit 787da2b

Please sign in to comment.