morgan pushed to branch tor-browser-128.7.0esr-14.5-1 at The Tor Project / 
Applications / Tor Browser


Commits:
fb67f795 by Henry Wilkes at 2025-02-10T15:14:42+00:00
fixup! TB 27476: Implement about:torconnect captive portal within Tor Browser

TB 43398: Prevent tor-button CSS rules from overwriting the
tor-urlbar-button-plain class rules.

- - - - -


1 changed file:

- toolkit/components/torconnect/content/torConnectUrlbarButton.js


Changes:

=====================================
toolkit/components/torconnect/content/torConnectUrlbarButton.js
=====================================
@@ -148,9 +148,8 @@ var gTorConnectUrlbarButton = {
       this._inAboutTorConnectTab ||
       !TorConnect.enabled ||
       !TorConnect.canBeginBootstrap;
-    this.button.classList.toggle(
-      "tor-urlbar-button-plain",
-      TorConnect.potentiallyBlocked
-    );
+    const plainButton = TorConnect.potentiallyBlocked;
+    this.button.classList.toggle("tor-urlbar-button-plain", plainButton);
+    this.button.classList.toggle("tor-button", !plainButton);
   },
 };



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/fb67f79577429bf7319bb4d6d2e173d2f6fe4ef2

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/fb67f79577429bf7319bb4d6d2e173d2f6fe4ef2
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to