Donate page: Fix the radio button toggle amount glitch.
Mike Perry

Mike Perry commited on 2015-11-23 03:33:04
Zeige 1 geänderte Dateien mit 2 Einfügungen und 2 Löschungen.

... ...
@@ -36,7 +36,7 @@
36 36
                         <label class="sr-only" for="exampleInputAmount">1</label>
37 37
                             <div class="input-group">
38 38
                                 <div class="input-group-addon">$</div>
39
-                                    <input type="text" name="custom_amnt" class="form-control" id="exampleInputAmount" placeholder="1000!?">
39
+                                    <input type="text" name="custom_amnt" class="form-control" id="exampleInputAmount" placeholder="1000+?">
40 40
                                 <div class="input-group-addon">.00</div>
41 41
                             </div>
42 42
                     </div>
... ...
@@ -82,7 +82,7 @@ function displayVals() {
82 82
         amount = $( this ).filter("input").val();
83 83
         if (amount == null) {
84 84
             amount = 100;
85
-        } else {
85
+        } else if (this.id == "exampleInputAmount") {
86 86
             $( "button" ).removeClass('active');
87 87
             $( this ).addClass('active');
88 88
         }
89 89