diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js index 85c795c..a10fcd1 100644 --- a/jquery-ui-timepicker-addon.js +++ b/jquery-ui-timepicker-addon.js @@ -343,7 +343,7 @@ $.extend(Timepicker.prototype, { this.hour_slider = $tp.find('#ui_tpicker_hour_'+ dp_id).slider({ orientation: "horizontal", - value: this.hour, + value: o.hour, min: o.hourMin, max: hourMax, step: o.stepHour, @@ -357,7 +357,7 @@ $.extend(Timepicker.prototype, { // - Pass in Event and UI instance into slide function this.minute_slider = $tp.find('#ui_tpicker_minute_'+ dp_id).slider({ orientation: "horizontal", - value: this.minute, + value: o.minute, min: o.minuteMin, max: minMax, step: o.stepMinute, @@ -370,7 +370,7 @@ $.extend(Timepicker.prototype, { this.second_slider = $tp.find('#ui_tpicker_second_'+ dp_id).slider({ orientation: "horizontal", - value: this.second, + value: o.second, min: o.secondMin, max: secMax, step: o.stepSecond,