From 1520673ed332ab6f8748fd5ae34ad5c6889ef4fe Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Wed, 24 Sep 2014 20:17:33 +0200 Subject: [PATCH] that..find -> that.find --- source/Ox.UI/js/List/CustomList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +};