[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-68.2.0esr-9.5-1] fixup! Bug 25658: Replace security slider with security level UI



commit 39861885e9837439fab9e3bf7aece4a21271e64b
Author: Richard Pospesel <richard@xxxxxxxxxxxxxx>
Date:   Mon Nov 18 12:13:00 2019 -0800

    fixup! Bug 25658: Replace security slider with security level UI
    
    Fixes bug 32539.
---
 browser/components/securitylevel/content/securityLevel.js               | 2 +-
 .../components/securitylevel/content/securityLevelPreferences.inc.xul   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/browser/components/securitylevel/content/securityLevel.js b/browser/components/securitylevel/content/securityLevel.js
index 7b3e7e4f92f9..2081eabb4176 100644
--- a/browser/components/securitylevel/content/securityLevel.js
+++ b/browser/components/securitylevel/content/securityLevel.js
@@ -334,7 +334,7 @@ const SecurityLevelPreferences =
     let groupbox = document.getElementById("securityLevel-groupbox");
 
     let labelHeader = groupbox.querySelector("#securityLevel-header");
-    labelHeader.setAttribute("value", TorStrings.securityLevel.securityLevel);
+    labelHeader.textContent = TorStrings.securityLevel.securityLevel;
 
     let spanOverview = groupbox.querySelector("#securityLevel-overview");
     spanOverview.textContent = TorStrings.securityLevel.overview;
diff --git a/browser/components/securitylevel/content/securityLevelPreferences.inc.xul b/browser/components/securitylevel/content/securityLevelPreferences.inc.xul
index 0e68800e2766..a81b8d299789 100644
--- a/browser/components/securitylevel/content/securityLevelPreferences.inc.xul
+++ b/browser/components/securitylevel/content/securityLevelPreferences.inc.xul
@@ -1,5 +1,5 @@
 <groupbox id="securityLevel-groupbox" data-category="panePrivacy" hidden="true">
-  <caption><label id="securityLevel-header"/></caption>
+  <label><html:h2 id="securityLevel-header"/></label>
   <vbox data-subcategory="securitylevel" flex="1">
     <description flex="1">
       <html:span id="securityLevel-overview" class="tail-with-learn-more"/>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits