forked from 0x2620/oxjs
minor changes
This commit is contained in:
parent
f2d7beeb22
commit
3acc606fa2
2 changed files with 23 additions and 25 deletions
|
|
@ -22,14 +22,14 @@ Ox.ListItem = function(options, self) {
|
|||
|
||||
self = self || {};
|
||||
var that = Ox.Element({}, self)
|
||||
.defaults({
|
||||
construct: null,
|
||||
data: {},
|
||||
draggable: false,
|
||||
position: 0,
|
||||
unique: ''
|
||||
})
|
||||
.options(options || {});
|
||||
.defaults({
|
||||
construct: null,
|
||||
data: {},
|
||||
draggable: false,
|
||||
position: 0,
|
||||
unique: ''
|
||||
})
|
||||
.options(options || {});
|
||||
|
||||
constructItem();
|
||||
|
||||
|
|
@ -42,9 +42,7 @@ Ox.ListItem = function(options, self) {
|
|||
});
|
||||
if (update) {
|
||||
that.$element.hasClass('OxSelected') && $element.addClass('OxSelected');
|
||||
// that.$element.replaceWith($element);
|
||||
}
|
||||
// that.$element = $element;
|
||||
that.setElement($element);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue