Skip to content

Commit

Permalink
Merge pull request #781 from jonnitto/patch-1
Browse files Browse the repository at this point in the history
Fix colspan if calendarWeeks & clearBtn are true
  • Loading branch information
acrobat committed Dec 13, 2014
2 parents 71576f8 + 28d0f46 commit 21e311d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
this.viewMode = this.o.startView;

if (this.o.calendarWeeks)
this.picker.find('tfoot th.today')
this.picker.find('tfoot th.today, tfoot th.clear')
.attr('colspan', function(i, val){
return parseInt(val) + 1;
});
Expand Down

0 comments on commit 21e311d

Please sign in to comment.