Skip to content

Commit 5597225

Browse files
Fixes trentrichardson#335, allowing dynamic changes to properties
_injectTimePicker HTML was getting data only from the default or initially provided value. Changed one line to accept the settings that have been extended at the datepicker level.
1 parent b7c99d1 commit 5597225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ $.extend(Timepicker.prototype, {
280280
//########################################################################
281281
_injectTimePicker: function() {
282282
var $dp = this.inst.dpDiv,
283-
o = this._defaults,
283+
o = this.inst.settings,
284284
tp_inst = this,
285285
// Added by Peter Medeiros:
286286
// - Figure out what the hour/minute/second max should be based on the step values.

0 commit comments

Comments
 (0)