diff --git a/source/Ox.UI/js/List/ListItem.js b/source/Ox.UI/js/List/ListItem.js index 7695a67e..816225d0 100644 --- a/source/Ox.UI/js/List/ListItem.js +++ b/source/Ox.UI/js/List/ListItem.js @@ -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); }