diff --git a/source/Ox.UI/js/List/CustomList.js b/source/Ox.UI/js/List/CustomList.js index 75ba9500..93d06324 100644 --- a/source/Ox.UI/js/List/CustomList.js +++ b/source/Ox.UI/js/List/CustomList.js @@ -36,7 +36,7 @@ Ox.CustomList = function(options, self) { itemWidth: function() { var width = self.options.itemWidth - Ox.UI.SCROLLBAR_SIZE; if (self.options.resize) { - that.$element.find('.OxItem').each(function(element) { + that.find('.OxItem').each(function(element) { self.options.resize($(this), width); }); } @@ -153,4 +153,4 @@ Ox.CustomList = function(options, self) { return that; -}; \ No newline at end of file +};