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:
Valeriy 2017-10-12 12:32:36 +05:00 committed by GitHub
commit df733f8a07

View File

@ -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();
}