Fix incorrect negation

This commit is contained in:
Ajay Ramachandran 2021-06-22 15:12:26 -04:00
parent a118d80548
commit 8fad730a77

View file

@ -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;
}