Index: include.postload.js |
=================================================================== |
--- a/include.postload.js |
+++ b/include.postload.js |
@@ -255,7 +255,14 @@ |
clickHide_mouseClick(e); |
else if (!e.ctrlKey && !e.altKey && !e.shiftKey && e.keyCode == 27 /*DOM_VK_ESCAPE*/) |
{ |
- clickHide_deactivate(); |
+ ext.backgroundPage.sendMessage( |
+ { |
+ type: "forward", |
+ payload: |
+ { |
+ type: "clickhide-deactivate" |
+ } |
+ }); |
e.preventDefault(); |
e.stopPropagation(); |
} |
@@ -556,9 +563,8 @@ |
// Explicitly get rid of currentElement |
if (msg.remove && currentElement && currentElement.parentNode) |
currentElement.parentNode.removeChild(currentElement); |
- |
- clickHide_deactivate(); |
} |
+ clickHide_deactivate(); |
break; |
default: |
sendResponse({}); |