[tor-commits] [tor-browser] 07/07: fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection

gitolite role git at cupani.torproject.org
Thu Jul 21 09:02:30 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch tor-browser-91.11.0esr-11.5-1
in repository tor-browser.

commit aefd06bdc8b69b62a02b0f61d716403787a02aaf
Author: WofWca <wofwca at protonmail.com>
AuthorDate: Tue Jul 19 21:23:25 2022 +0300

    fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
    
    improvement: "add a bridge manually": populate textarea with exising bridges even if bridges are disabled
    Otherwsie if there were some bridges already, they would get removed
---
 browser/components/torpreferences/content/provideBridgeDialog.jsm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/browser/components/torpreferences/content/provideBridgeDialog.jsm b/browser/components/torpreferences/content/provideBridgeDialog.jsm
index f20cf9ddd925d..bc6a841138fb6 100644
--- a/browser/components/torpreferences/content/provideBridgeDialog.jsm
+++ b/browser/components/torpreferences/content/provideBridgeDialog.jsm
@@ -35,10 +35,7 @@ class ProvideBridgeDialog {
       "placeholder",
       TorStrings.settings.provideBridgePlaceholder
     );
-    if (
-      TorSettings.bridges.enabled &&
-      TorSettings.bridges.source == TorBridgeSource.UserProvided
-    ) {
+    if (TorSettings.bridges.source == TorBridgeSource.UserProvided) {
       this._textarea.value = TorSettings.bridges.bridge_strings.join("\n");
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list