make superRemove a bound function
This commit is contained in:
parent
2311db5aa0
commit
7f83cd9495
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ Ox.Select = function(options, self) {
|
||||||
/*@
|
/*@
|
||||||
remove <f> remove
|
remove <f> remove
|
||||||
@*/
|
@*/
|
||||||
self.superRemove = that.remove;
|
self.superRemove = that.remove.bind(that);
|
||||||
that.remove = function() {
|
that.remove = function() {
|
||||||
self.$menu.remove();
|
self.$menu.remove();
|
||||||
self.superRemove();
|
self.superRemove();
|
||||||
|
|
Loading…
Reference in a new issue