mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
#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() ) {
|
for ( var win of vAPI.tabs.getWindows() ) {
|
||||||
this.unregister(win.document);
|
this.unregister(win.document);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.menuItemId = null;
|
||||||
|
this.menuLabel = null;
|
||||||
|
this.contexts = null;
|
||||||
|
this.onCommand = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user