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

[tor-commits] [webwml/staging] fix other amount input in donation page



commit 795b6186d3c1da82329448d123845abff7bd16f2
Author: MehrabKamrani <mk.zizou@xxxxxxxxx>
Date:   Sun May 1 03:32:25 2016 +0800

    fix other amount input in donation page
---
 donate/en/donate.wml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/donate/en/donate.wml b/donate/en/donate.wml
index feccc11..df5a331 100644
--- a/donate/en/donate.wml
+++ b/donate/en/donate.wml
@@ -124,7 +124,7 @@ Tor is an essential part of the Internet freedom infrastructure, and I'm looking
     var amount = $( this ).filter(".amnt-btn").val();
     if (amount == null) {
       amount = $("#exampleInputAmount").val();
-      if ($('#amount').val() == "") {
+      if ($('#amount').val() == "" && !($("#exampleInputAmount").hasClass("active")) ) {
         amount = 23
         $( "#amount23" ).addClass('active');
       } else if (this.id == "exampleInputAmount") {



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