diff --git a/src/jquery-ui-timepicker-addon.js b/src/jquery-ui-timepicker-addon.js index 3cff3a8..7c99bf8 100644 --- a/src/jquery-ui-timepicker-addon.js +++ b/src/jquery-ui-timepicker-addon.js @@ -717,7 +717,7 @@ } else if (this.hour===tempMinTime.getHours() && this.minutetempMinTime.getHours()) { this._defaults.hourMin=tempMinTime.getHours(); this._defaults.minuteMin=tempMinTime.getMinutes(); } else if (this._defaults.hourMin===tempMinTime.getHours()===this.hour && this._defaults.minuteMintempMaxTime.getMinutes()) { this.minute=this._defaults.minuteMax=tempMaxTime.getMinutes(); } else { - if (this._defaults.hourMax>tempMaxTime.getHours()) { + if (this._defaults.hourMaxtempMaxTime.getMinutes()) {