that..find -> that.find

This commit is contained in:
rlx 2014-09-24 20:17:33 +02:00
parent 3334513b0a
commit 1520673ed3

View file

@ -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;
};
};