Skip to content

Commit ac3d03e

Browse files
committed
today button incorrect showing fix
1 parent 85c7829 commit ac3d03e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/bootstrap-datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
.text(dates[this.language].months[month]+' '+year);
293293
this.picker.find('tfoot th.today')
294294
.text(dates[this.language].today)
295-
.toggle(this.todayBtn);
295+
.toggle(this.todayBtn !== false);
296296
this.updateNavArrows();
297297
this.fillMonths();
298298
var prevMonth = UTCDate(year, month-1, 28,0,0,0,0),

0 commit comments

Comments
 (0)