mirror of https://github.com/gorhill/uBlock.git
#1057: cleanup code
This commit is contained in:
parent
e2f4ec8ba3
commit
4006b99e69
|
@ -1847,6 +1847,11 @@ vAPI.contextMenu.remove = function() {
|
|||
for ( var win of vAPI.tabs.getWindows() ) {
|
||||
this.unregister(win.document);
|
||||
}
|
||||
|
||||
this.menuItemId = null;
|
||||
this.menuLabel = null;
|
||||
this.contexts = null;
|
||||
this.onCommand = null;
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue