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

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



commit f59d43d479637a6c722e4b0a276fdde5ee3b946c
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
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');
         }



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