fix other amount input in donation page
MehrabKamrani

MehrabKamrani commited on 2016-05-03 10:45:44
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.

... ...
@@ -124,7 +124,7 @@ Tor is an essential part of the Internet freedom infrastructure, and I'm looking
124 124
     var amount = $( this ).filter(".amnt-btn").val();
125 125
     if (amount == null) {
126 126
       amount = $("#exampleInputAmount").val();
127
-      if ($('#amount').val() == "") {
127
+      if ($('#amount').val() == "" && !($("#exampleInputAmount").hasClass("active")) ) {
128 128
         amount = 23
129 129
         $( "#amount23" ).addClass('active');
130 130
       } else if (this.id == "exampleInputAmount") {
131 131