ListItem: that. -> that

This commit is contained in:
rlx 2014-09-22 13:28:14 +02:00
parent 36b7c15513
commit 0a6b2281b4

View file

@ -31,7 +31,7 @@ Ox.ListItem = function(options, self) {
constructItem(true);
},
position: function() {
that.$element.data({position: self.options.position});
that.data({position: self.options.position});
}
});
@ -45,7 +45,7 @@ Ox.ListItem = function(options, self) {
position: self.options.position
});
if (update) {
that.$element.hasClass('OxSelected') && $element.addClass('OxSelected');
that.hasClass('OxSelected') && $element.addClass('OxSelected');
}
that.setElement($element);
}