Permalink
Browse files

Merge pull request #71 from jlew/master

Fix bug with buttons = false option
  • Loading branch information...
2 parents 8d3bf28 + ecd3bb2 commit 6392272ff45e5eb0e940f312a705d947793d8582 @themouette committed Jun 23, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 jquery.weekcalendar.js
View
@@ -716,6 +716,13 @@
$calendarContainer.find('.wc-title')
.height(_height)
.css('line-height', _height + 'px');
+ }else{
+ var calendarNavHtml = '';
+ calendarNavHtml += '<div class=\"ui-widget-header wc-toolbar\">';
+ calendarNavHtml += '<h1 class=\"wc-title\"></h1>';
+ calendarNavHtml += '</div>';
+ $(calendarNavHtml).appendTo($calendarContainer);
+
}
},

0 comments on commit 6392272

Please sign in to comment.