Index: lib/filterComposer.js |
diff --git a/lib/filterComposer.js b/lib/filterComposer.js |
index 2719386a1ba23b6f8f9374c1b68531e0a239a45c..4137b308afa913f2c79c534227cb9d48dec22b2c 100644 |
--- a/lib/filterComposer.js |
+++ b/lib/filterComposer.js |
@@ -169,9 +169,11 @@ function composeFilters(details) |
let contextMenuItem = { |
title: browser.i18n.getMessage("block_element"), |
contexts: ["image", "video", "audio"], |
- onclick(page) |
+ onclick(page, info) |
{ |
- page.sendMessage({type: "composer.content.contextMenuClicked"}); |
+ page.sendMessage( |
+ {type: "composer.content.contextMenuClicked"}, undefined, info.frameId |
+ ); |
} |
}; |