From 0a6b2281b42c80b62c49994a1b6d5a74114a389a Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Mon, 22 Sep 2014 13:28:14 +0200 Subject: [PATCH] ListItem: that. -> that --- source/Ox.UI/js/List/ListItem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }