mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
#1057: cleanup code
This commit is contained in:
parent
e2f4ec8ba3
commit
4006b99e69
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue