diff options
author | Ajay Ramachandran <[email protected]> | 2021-06-22 15:12:26 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2021-06-22 15:12:26 -0400 |
commit | 8fad730a774cfb129cdb33a4f8c06b0a799c82a6 (patch) | |
tree | ff2969b4868e9a04fdd9f3ed731341aabfbdb30a /src | |
parent | a118d80548f66a89810b6d4c4195d11150e281dd (diff) | |
download | SponsorBlock-8fad730a774cfb129cdb33a4f8c06b0a799c82a6.tar.gz SponsorBlock-8fad730a774cfb129cdb33a4f8c06b0a799c82a6.zip |
Fix incorrect negation
Diffstat (limited to 'src')
-rw-r--r-- | src/options.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.ts b/src/options.ts index 13a4bfee..d1f5b37e 100644 --- a/src/options.ts +++ b/src/options.ts @@ -32,7 +32,7 @@ async function init() { for (let i = 0; i < optionsElements.length; i++) { if ((optionsElements[i].getAttribute("private-mode-only") === "true" && !(await isIncognitoAllowed())) - || (optionsElements[i].getAttribute("no-safari") === "true" && navigator.vendor !== "Apple Computer, Inc.")) { + || (optionsElements[i].getAttribute("no-safari") === "true" && navigator.vendor === "Apple Computer, Inc.")) { optionsElements[i].classList.add("hidden"); continue; } |