Skip to content

Commit

Permalink
Merge pull request #71 from jlew/master
Browse files Browse the repository at this point in the history
Fix bug with buttons = false option
  • Loading branch information
themouette committed Jun 23, 2011
2 parents 8d3bf28 + ecd3bb2 commit 6392272
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jquery.weekcalendar.js
Expand Up @@ -716,6 +716,13 @@
$calendarContainer.find('.wc-title') $calendarContainer.find('.wc-title')
.height(_height) .height(_height)
.css('line-height', _height + 'px'); .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);

} }
}, },


Expand Down

0 comments on commit 6392272

Please sign in to comment.