Index: popup.js |
=================================================================== |
--- a/popup.js |
+++ b/popup.js |
@@ -49,7 +49,7 @@ |
if (checkWhitelisted(page)) |
document.body.classList.add("disabled"); |
- page.sendMessage({type: "blockelement-get-state"}, function(response) |
+ page.sendMessage({type: "composer.content.getState"}, function(response) |
{ |
if (response && response.active) |
document.body.classList.add("clickhide-active"); |
@@ -121,7 +121,7 @@ |
function activateClickHide() |
{ |
document.body.classList.add("clickhide-active"); |
- page.sendMessage({type: "blockelement-start-picking-element"}); |
+ page.sendMessage({type: "composer.content.startPickingElement"}); |
// Close the popup after a few seconds, so user doesn't have to |
activateClickHide.timeout = window.setTimeout(ext.closePopup, 5000); |
@@ -135,7 +135,7 @@ |
activateClickHide.timeout = null; |
} |
document.body.classList.remove("clickhide-active"); |
- page.sendMessage({type: "blockelement-finished"}); |
+ page.sendMessage({type: "composer.content.finished"}); |
} |
function toggleCollapse(event) |