Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #131 from pablogd/header-disable

Added showHeader option to completely disable header (including buttons)
  • Loading branch information...
commit 2e4fae3cc97962cb3b618082fc7e3e00dc99bc53 2 parents 062ad57 + ac0855a
Kévin Gomez K-Phoen authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  jquery.weekcalendar.js
2  jquery.weekcalendar.js
View
@@ -56,6 +56,7 @@
timeslotsPerHour: 4,
minDate: null,
maxDate: null,
+ showHeader: true,
buttons: true,
buttonText: {
today: 'today',
@@ -692,6 +693,7 @@
*/
_renderCalendarButtons: function($calendarContainer) {
var self = this, options = this.options;
+ if ( !options.showHeader ) return;
if (options.buttons) {
var calendarNavHtml = '';
Please sign in to comment.
Something went wrong with that request. Please try again.