cache width=0
This commit is contained in:
parent
6040010098
commit
03ba57f2b8
1 changed files with 1 additions and 1 deletions
|
@ -770,7 +770,7 @@ Ox.TableList = function(options, self) {
|
||||||
// every SplitPanel and window resize... for now, use a cached value
|
// every SplitPanel and window resize... for now, use a cached value
|
||||||
if (!cached) {
|
if (!cached) {
|
||||||
self.cachedWidth = that.width();
|
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.cachedWidth = that.width();
|
||||||
self.cachedWidthTime = +new Date();
|
self.cachedWidthTime = +new Date();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue