that..find -> that.find
This commit is contained in:
parent
3334513b0a
commit
1520673ed3
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue