Skip to content

Commit 7fa5651

Browse files
committed
Fixed wrong commit
1 parent 2829a0e commit 7fa5651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jquery-ui-timepicker-addon.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1490,11 +1490,11 @@
14901490
altFormattedDateTime = tp_inst.formattedDate + altSeparator + altFormattedDateTime;
14911491
}
14921492
}
1493-
$(altField).val(altFormattedDateTime);
1493+
$(altField).val( inst.input.val() ? altFormattedDateTime : "");
14941494
}
14951495
}
14961496
else {
1497-
$(altField).val( inst.input.val() ? altFormattedDateTime : "");
1497+
$.datepicker._base_updateAlternate(inst);
14981498
}
14991499
};
15001500

0 commit comments

Comments
 (0)