mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
commit
7898b5e4c1
@ -1667,7 +1667,7 @@ var datetimepickerFactory = function ($) {
|
|||||||
clearTimeout(xchangeTimer);
|
clearTimeout(xchangeTimer);
|
||||||
xchangeTimer = setTimeout(function () {
|
xchangeTimer = setTimeout(function () {
|
||||||
|
|
||||||
if (_xdsoft_datetime.currentTime === undefined || _xdsoft_datetime.currentTime === null) {
|
if (_xdsoft_datetime.currentTime === undefined || _xdsoft_datetime.currentTime === null || isNaN(_xdsoft_datetime.currentTime.getTime())) {
|
||||||
_xdsoft_datetime.currentTime = _xdsoft_datetime.now();
|
_xdsoft_datetime.currentTime = _xdsoft_datetime.now();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user