Removes redundant methods.
This commit is contained in:
parent
7f4c56df9b
commit
d18bfbf66d
|
@ -639,18 +639,6 @@
|
||||||
return menu.Remove(event,menu);
|
return menu.Remove(event,menu);
|
||||||
},
|
},
|
||||||
|
|
||||||
Activate: function (event, menu) {
|
|
||||||
this.Deactivate(menu);
|
|
||||||
if (!this.disabled) {
|
|
||||||
menu.className += " MathJax_MenuActive";
|
|
||||||
}
|
|
||||||
this.DeactivateSubmenus(menu);
|
|
||||||
MENU.Focus(menu);
|
|
||||||
},
|
|
||||||
Deactivate: function (menu) {
|
|
||||||
menu.className = menu.className.replace(/ MathJax_MenuActive/,"");
|
|
||||||
},
|
|
||||||
|
|
||||||
With: function (def) {if (def) {HUB.Insert(this,def)}; return this},
|
With: function (def) {if (def) {HUB.Insert(this,def)}; return this},
|
||||||
|
|
||||||
isRTL: function () {return MENU.isRTL},
|
isRTL: function () {return MENU.isRTL},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user