cache width=0

This commit is contained in:
j 2018-05-12 21:30:45 +02:00
parent 6040010098
commit 03ba57f2b8

View file

@ -770,7 +770,7 @@ Ox.TableList = function(options, self) {
// every SplitPanel and window resize... for now, use a cached value
if (!cached) {
self.cachedWidth = that.width();
} else if (!self.cachedWidth || self.cachedWidthTime < +new Date() - 5000) {
} else if ((!self.cachedWidth && self.cachedWidth !== 0) || self.cachedWidthTime < +new Date() - 5000) {
self.cachedWidth = that.width();
self.cachedWidthTime = +new Date();
}