fix if firstDay is 0

This commit is contained in:
t1m0n 2015-12-15 14:59:46 +03:00
parent 5f87aeafb8
commit 43f1a6e879
3 changed files with 3 additions and 3 deletions

View File

@ -205,7 +205,7 @@ var Datepicker;
this.loc.dateFormat = this.opts.dateFormat
}
if (this.opts.firstDay) {
if (this.opts.firstDay != undefined) {
this.loc.firstDay = this.opts.firstDay
}
},

File diff suppressed because one or more lines are too long

View File

@ -205,7 +205,7 @@ var Datepicker;
this.loc.dateFormat = this.opts.dateFormat
}
if (this.opts.firstDay) {
if (this.opts.firstDay != undefined) {
this.loc.firstDay = this.opts.firstDay
}
},