Skip to content

Commit a539339

Browse files
Fixed datepicker only getDate
1 parent 1f9e69c commit a539339

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,8 @@ $.datepicker._getDateDatepicker = function(target, noDefault) {
742742
return (!inst.currentYear || (inst.input && inst.input.val() == '')) ?
743743
null :
744744
(new Date(inst.currentYear, inst.currentMonth, inst.currentDay, tp_inst.hour, tp_inst.minute, tp_inst.second));
745-
else return this._base_getDateDatepicker(inst);
745+
746+
return this._base_getDateDatepicker(target, noDefault);
746747
};
747748

748749
//#######################################################################################

0 commit comments

Comments
 (0)