diff options
author | hackademix | 2018-08-22 16:34:16 +0200 |
---|---|---|
committer | hackademix | 2018-08-22 16:34:16 +0200 |
commit | 075a5ad0e0f9b4f9af614194d9c8d21d0ed45184 (patch) | |
tree | cc341040d0515e54ec8466dec8d3e32c381f1457 /src/content/PlaceHolder.js | |
parent | 48c04726b8d2da0023abd0ccef3e2d09511bea47 (diff) | |
download | noscript-075a5ad0e0f9b4f9af614194d9c8d21d0ed45184.tar.gz noscript-075a5ad0e0f9b4f9af614194d9c8d21d0ed45184.tar.xz noscript-075a5ad0e0f9b4f9af614194d9c8d21d0ed45184.zip |
More coherent wrapper around the webex messaging API.
Diffstat (limited to 'src/content/PlaceHolder.js')
-rw-r--r-- | src/content/PlaceHolder.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/content/PlaceHolder.js b/src/content/PlaceHolder.js index 764b7bc..ec2ab5b 100644 --- a/src/content/PlaceHolder.js +++ b/src/content/PlaceHolder.js @@ -116,8 +116,7 @@ var PlaceHolder = (() => { async enable(replacement) { debug("Enabling %o", this.request, this.policyType); - let ok = await browser.runtime.sendMessage({ - action: "enable", + let ok = await Messages.send("enable", { url: this.request.url, policyType: this.policyType, documentUrl: document.URL |