Skip to content

Commit 99e399c

Browse files
Update js/bootstrap-datepicker.js
Today button (todayBtn) toggle fix.
1 parent cd46d38 commit 99e399c

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
@@ -264,7 +264,7 @@
264264
.text(dates[this.language].months[month]+' '+year);
265265
this.picker.find('tfoot th.today')
266266
.text(dates[this.language].today)
267-
.toggle(this.todayBtn);
267+
.toggle(this.todayBtn === 'linked');
268268
this.updateNavArrows();
269269
this.fillMonths();
270270
var prevMonth = UTCDate(year, month-1, 28,0,0,0,0),

0 commit comments

Comments
 (0)