summaryrefslogtreecommitdiff
path: root/src/content/PlaceHolder.js
diff options
context:
space:
mode:
authorhackademix2018-08-21 23:54:04 +0200
committerhackademix2018-08-21 23:54:04 +0200
commit1de1db3c29d11f49e130d44db359d1187f6c24a0 (patch)
treea59d10d32eeb0dcf9a6dfbac893b68af6fcc16d3 /src/content/PlaceHolder.js
parent91334fe94477fdbcb85fcf93d87e3c73294da106 (diff)
downloadnoscript-1de1db3c29d11f49e130d44db359d1187f6c24a0.tar.gz
noscript-1de1db3c29d11f49e130d44db359d1187f6c24a0.tar.xz
noscript-1de1db3c29d11f49e130d44db359d1187f6c24a0.zip
Fixed possible surprises in background script message handling.
Diffstat (limited to 'src/content/PlaceHolder.js')
-rw-r--r--src/content/PlaceHolder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/PlaceHolder.js b/src/content/PlaceHolder.js
index d8c422b..764b7bc 100644
--- a/src/content/PlaceHolder.js
+++ b/src/content/PlaceHolder.js
@@ -117,7 +117,7 @@ var PlaceHolder = (() => {
async enable(replacement) {
debug("Enabling %o", this.request, this.policyType);
let ok = await browser.runtime.sendMessage({
- type: "enable",
+ action: "enable",
url: this.request.url,
policyType: this.policyType,
documentUrl: document.URL