Select: patch removeElement, not remove
This commit is contained in:
parent
71fdefcf9b
commit
39d1b034ab
1 changed files with 3 additions and 4 deletions
|
@ -247,12 +247,11 @@ Ox.Select = function(options, self) {
|
||||||
};
|
};
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
remove <f> remove
|
removeElement <f> removeElement
|
||||||
@*/
|
@*/
|
||||||
self.superRemove = that.remove.bind(that);
|
that.removeElement = function() {
|
||||||
that.remove = function() {
|
|
||||||
self.$menu.remove();
|
self.$menu.remove();
|
||||||
self.superRemove();
|
return Ox.Element.prototype.removeElement.apply(that, arguments);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
|
|
Loading…
Reference in a new issue