aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2020-01-11 17:48:11 -0500
committerAjay Ramachandran <[email protected]>2020-01-11 17:48:11 -0500
commit7cb2915fd78b7aeb2aedf37e1cb3922cc610d5e7 (patch)
tree0698772645a9195cb87349cadee1ddfd304f7ec9
parent0a42f130acab9f084531b8df26906e608017ee56 (diff)
downloadSponsorBlock-7cb2915fd78b7aeb2aedf37e1cb3922cc610d5e7.tar.gz
SponsorBlock-7cb2915fd78b7aeb2aedf37e1cb3922cc610d5e7.zip
Fixed firefox content script registration.
-rw-r--r--background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background.js b/background.js
index 1f7cdd70..9a077515 100644
--- a/background.js
+++ b/background.js
@@ -100,7 +100,7 @@ function registerFirefoxContentScript(options) {
js: options.js,
css: options.css,
matches: options.matches
- }).then(() => void (contentScriptRegistrations[options.id] = registration));
+ }).then((registration) => void (contentScriptRegistrations[options.id] = registration));
}
//gets the sponsor times from memory