Browse Source

#1057: cleanup code

pull/2/head
gorhill 10 years ago
parent
commit
a179821f3d
  1. 5
      platform/firefox/vapi-background.js

5
platform/firefox/vapi-background.js

@ -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…
Cancel
Save