aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/background.ts
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2020-02-01 19:18:53 -0500
committerAjay Ramachandran <[email protected]>2020-02-01 19:18:53 -0500
commit23141aa624c94d2164f8cb0a250ef1ba50287155 (patch)
treef7e2db935e7ffea25664ca97229ebcbf10fce2bf /src/background.ts
parent17381e7debba87863b91d2bdaf75932882a02298 (diff)
downloadSponsorBlock-23141aa624c94d2164f8cb0a250ef1ba50287155.tar.gz
SponsorBlock-23141aa624c94d2164f8cb0a250ef1ba50287155.zip
Made the extension successfully build
Diffstat (limited to 'src/background.ts')
-rw-r--r--src/background.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background.ts b/src/background.ts
index a5650135..e1c4f1ac 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -12,7 +12,7 @@ var contentScriptRegistrations = {};
// Register content script if needed
if (utils.isFirefox()) {
- utils.wait(() => SB.config !== undefined).then(function() {
+ utils.wait(() => SB.config !== null).then(function() {
if (SB.config.supportInvidious) utils.setupExtraSiteContentScripts();
});
}