Skip to content

Commit 8b16a84

Browse files
committed
Adding fix to ticket uxsolutions#113 , this will cause the value of the calendar to be updated to match the current data-date value of the element the date picker is attached to.
1 parent f2c1cf1 commit 8b16a84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/bootstrap-datepicker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
show: function(e) {
107107
this.picker.show();
108108
this.height = this.component ? this.component.outerHeight() : this.element.outerHeight();
109+
this.update();
109110
this.place();
110111
$(window).on('resize', $.proxy(this.place, this));
111112
if (e ) {

0 commit comments

Comments
 (0)