mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Get context menus limping again. This is really strange. r=blake, sr=ben
This commit is contained in:
parent
35b3d95262
commit
dcfed3a6a9
@ -90,11 +90,13 @@
|
||||
},
|
||||
|
||||
initImageBlocking : function () {
|
||||
try {
|
||||
// Block image depends on whether an image was clicked on, and,
|
||||
// whether the user pref is enabled.
|
||||
contextMenu.showItem
|
||||
("context-blockimage",
|
||||
contextMenu.onImage && cookieContextMenu.isBlockingImages());
|
||||
} catch (e) {}
|
||||
},
|
||||
|
||||
addContextMenuItemListeners : function (aEvent) {
|
||||
|
@ -90,11 +90,13 @@
|
||||
},
|
||||
|
||||
initImageBlocking : function () {
|
||||
try {
|
||||
// Block image depends on whether an image was clicked on, and,
|
||||
// whether the user pref is enabled.
|
||||
contextMenu.showItem
|
||||
("context-blockimage",
|
||||
contextMenu.onImage && cookieContextMenu.isBlockingImages());
|
||||
} catch (e) {}
|
||||
},
|
||||
|
||||
addContextMenuItemListeners : function (aEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user