diff options
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 |