use removeItem instead of remove namespace
This commit is contained in:
parent
0eb8b800cf
commit
757ad765d3
|
@ -244,7 +244,7 @@ module.exports = {
|
|||
buttons = []
|
||||
}else{
|
||||
// Remove Save Revision from the right menu
|
||||
buttons[0].remove("savedrevision");
|
||||
buttons[0].removeItem("savedrevision");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -255,7 +255,7 @@ module.exports = {
|
|||
}
|
||||
};
|
||||
|
||||
Array.prototype.remove = function() {
|
||||
Array.prototype.removeItem = function() {
|
||||
var what, a = arguments, L = a.length, ax;
|
||||
while (L && this.length) {
|
||||
what = a[--L];
|
||||
|
|
Loading…
Reference in New Issue