[tor-commits] [snowflake/master] Make the "Turn On/Off" text a label for the slider.

dcf at torproject.org dcf at torproject.org
Tue Jul 23 16:53:20 UTC 2019


commit 74d3895ee9ef359e686809e4403cb012fd52041f
Author: David Fifield <david at bamsoftware.com>
Date:   Tue Jul 23 10:51:47 2019 -0600

    Make the "Turn On/Off" text a label for the slider.
    
    So that you can click on the text as well as the slider.
---
 proxy/webext/popup.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/webext/popup.html b/proxy/webext/popup.html
index 2c8943e..e3ba2f5 100644
--- a/proxy/webext/popup.html
+++ b/proxy/webext/popup.html
@@ -12,7 +12,7 @@
         <p></p>
     </div>
     <div class="b button">
-      <label id="toggle">Turn On</label>
+      <label id="toggle" for="enabled">Turn On</label>
       <label class="switch">
         <input id="enabled" type="checkbox" checked/>
         <span class="slider round"></span>



More information about the tor-commits mailing list