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

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



commit 74d3895ee9ef359e686809e4403cb012fd52041f
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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>

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