Index: lib/filterComposer.js |
diff --git a/lib/filterComposer.js b/lib/filterComposer.js |
index 8da9e97d5aa66faabf090030aab09d05aefd40d9..960a0cd3196c7f58b929f3de678a750756feb5f2 100644 |
--- a/lib/filterComposer.js |
+++ b/lib/filterComposer.js |
@@ -168,9 +168,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 |
+ ); |
} |
}; |