forked from 0x2620/oxjs
fix regressions introduced by garbage collection
This commit is contained in:
parent
1d09d19423
commit
2df5d05980
3 changed files with 11 additions and 7 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue