This commit is contained in:
gorhill 2015-03-20 19:17:07 -04:00
parent ede4036c35
commit 7e8d2e431b
1 changed files with 8 additions and 0 deletions

View File

@ -1843,6 +1843,14 @@ vAPI.contextMenu.create = function(details, callback) {
/******************************************************************************/
vAPI.contextMenu.remove = function() {
for ( var win of vAPI.tabs.getWindows() ) {
this.unregister(win.document);
}
};
/******************************************************************************/
var optionsObserver = {
addonId: '{2b10c1c8-a11f-4bad-fe9c-1c11e82cac42}',