From 075a5ad0e0f9b4f9af614194d9c8d21d0ed45184 Mon Sep 17 00:00:00 2001 From: hackademix Date: Wed, 22 Aug 2018 16:34:16 +0200 Subject: More coherent wrapper around the webex messaging API. --- src/content/PlaceHolder.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/content/PlaceHolder.js') 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 -- cgit v1.2.3