[tor-commits] [webwml/master] Donate page: Fix the radio button toggle amount glitch.

mikeperry at torproject.org mikeperry at torproject.org
Tue Nov 24 07:38:23 UTC 2015


commit f59d43d479637a6c722e4b0a276fdde5ee3b946c
Author: Mike Perry <mikeperry-git at torproject.org>
Date:   Sun Nov 22 18:33:04 2015 -0800

    Donate page: Fix the radio button toggle amount glitch.
---
 donate/en/donate.wml |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/donate/en/donate.wml b/donate/en/donate.wml
index 2b8a0b9..18d5fe2 100644
--- a/donate/en/donate.wml
+++ b/donate/en/donate.wml
@@ -36,7 +36,7 @@
                         <label class="sr-only" for="exampleInputAmount">1</label>
                             <div class="input-group">
                                 <div class="input-group-addon">$</div>
-                                    <input type="text" name="custom_amnt" class="form-control" id="exampleInputAmount" placeholder="1000!?">
+                                    <input type="text" name="custom_amnt" class="form-control" id="exampleInputAmount" placeholder="1000+?">
                                 <div class="input-group-addon">.00</div>
                             </div>
                     </div>
@@ -82,7 +82,7 @@ function displayVals() {
         amount = $( this ).filter("input").val();
         if (amount == null) {
             amount = 100;
-        } else {
+        } else if (this.id == "exampleInputAmount") {
             $( "button" ).removeClass('active');
             $( this ).addClass('active');
         }





More information about the tor-commits mailing list