diff --git a/source/Ox.UI/js/List/InfoList.js b/source/Ox.UI/js/List/InfoList.js index aab2d844..33ff242f 100644 --- a/source/Ox.UI/js/List/InfoList.js +++ b/source/Ox.UI/js/List/InfoList.js @@ -167,9 +167,9 @@ Ox.InfoList = function(options, self) { function getItemWidth(cached) { if (!cached) { - self.cachedWidth = self.$list.width() - Ox.SCROLLBAR_SIZE; + self.cachedWidth = that.width() - Ox.SCROLLBAR_SIZE; } else if (!self.cachedWidth || self.cachedWidthTime < +new Date() - 5000) { - self.cachedWidth = self.$list.width() - Ox.SCROLLBAR_SIZE; + self.cachedWidth = that.width() - Ox.SCROLLBAR_SIZE; self.cachedWidthTime = +new Date(); } return self.cachedWidth;