forked from 0x2620/oxjs
Ox.UI -> Ox
This commit is contained in:
parent
eaaa8602e7
commit
775aa607c8
13 changed files with 31 additions and 31 deletions
|
|
@ -167,9 +167,9 @@ Ox.InfoList = function(options, self) {
|
|||
|
||||
function getItemWidth(cached) {
|
||||
if (!cached) {
|
||||
self.cachedWidth = self.$list.width() - Ox.UI.SCROLLBAR_SIZE;
|
||||
self.cachedWidth = self.$list.width() - Ox.SCROLLBAR_SIZE;
|
||||
} else if (!self.cachedWidth || self.cachedWidthTime < +new Date() - 5000) {
|
||||
self.cachedWidth = self.$list.width() - Ox.UI.SCROLLBAR_SIZE;
|
||||
self.cachedWidth = self.$list.width() - Ox.SCROLLBAR_SIZE;
|
||||
self.cachedWidthTime = +new Date();
|
||||
}
|
||||
return self.cachedWidth;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue