Skip to content

Commit d9df785

Browse files
Merge pull request trentrichardson#787 from phuongvh/dev
Fix issue trentrichardson#762 - Unnecessary call to tp_inst_updateDateTime(dp_inst on event onChangeMonthYear
2 parents 29f83c9 + ba6196c commit d9df785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery-ui-timepicker-addon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
},
194194
onChangeMonthYear: function (year, month, dp_inst) {
195195
// Update the time as well : this prevents the time from disappearing from the $input field.
196-
tp_inst._updateDateTime(dp_inst);
196+
// tp_inst._updateDateTime(dp_inst);
197197
if ($.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)) {
198198
tp_inst._defaults.evnts.onChangeMonthYear.call($input[0], year, month, dp_inst, tp_inst);
199199
}

0 commit comments

Comments
 (0)