Index: lib/filterComposer.js |
diff --git a/lib/filterComposer.js b/lib/filterComposer.js |
index 10390f9f3be7462ec52da3639872fa1df757b2a8..8f1494e70e8f6fc64041dc53ebf7cc996aceb1e1 100644 |
--- a/lib/filterComposer.js |
+++ b/lib/filterComposer.js |
@@ -156,9 +156,11 @@ function composeFilters(details) |
let contextMenuItem = { |
title: ext.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 |
+ ); |
} |
}; |