Skip to content

Commit ba6196c

Browse files
committed
Fix issue trentrichardson#762, unnecessary to call tp_inst._updateDateTime(dp_inst) on event onChangeMonthYear.
1 parent 4edb868 commit ba6196c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery-ui-timepicker-addon.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
},
192192
onChangeMonthYear: function (year, month, dp_inst) {
193193
// Update the time as well : this prevents the time from disappearing from the $input field.
194-
tp_inst._updateDateTime(dp_inst);
194+
// tp_inst._updateDateTime(dp_inst);
195195
if ($.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)) {
196196
tp_inst._defaults.evnts.onChangeMonthYear.call($input[0], year, month, dp_inst, tp_inst);
197197
}

0 commit comments

Comments
 (0)