mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #581 from alexmelnikov/master
The picker's offsetHeight is not calculated correctly when calendar is not generated.
This commit is contained in:
commit
df733f8a07
@ -1562,10 +1562,6 @@
|
||||
xchangeTimer = setTimeout(function () {
|
||||
|
||||
if (_xdsoft_datetime.currentTime === undefined || _xdsoft_datetime.currentTime === null) {
|
||||
//In case blanks are allowed, delay construction until we have a valid date
|
||||
if (options.allowBlank)
|
||||
return;
|
||||
|
||||
_xdsoft_datetime.currentTime = _xdsoft_datetime.now();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user