1
0
Fork 0
forked from 0x2620/oxjs

fix regressions introduced by garbage collection

This commit is contained in:
rlx 2011-11-05 11:44:31 +00:00
commit 2df5d05980
3 changed files with 11 additions and 7 deletions

View file

@ -40,10 +40,11 @@ Ox.ListItem = function(options, self) {
});
if (update) {
that.$element.hasClass('OxSelected') && $element.addClass('OxSelected');
//that.$element.replaceWith($element);
// that.$element.replaceWith($element);
}
//that.$element = $element;
// that.$element = $element;
that.setElement($element);
Ox.print('LISTITEM', that.$element.data('id'))
}
self.setOption = function(key, value) {