aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2021-06-22 15:12:26 -0400
committerAjay Ramachandran <[email protected]>2021-06-22 15:12:26 -0400
commit8fad730a774cfb129cdb33a4f8c06b0a799c82a6 (patch)
treeff2969b4868e9a04fdd9f3ed731341aabfbdb30a /src
parenta118d80548f66a89810b6d4c4195d11150e281dd (diff)
downloadSponsorBlock-8fad730a774cfb129cdb33a4f8c06b0a799c82a6.tar.gz
SponsorBlock-8fad730a774cfb129cdb33a4f8c06b0a799c82a6.zip
Fix incorrect negation
Diffstat (limited to 'src')
-rw-r--r--src/options.ts2
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;
}