campaign: onclick -> click
authorKai Michaelis <kai@gnupg.org>
Wed, 17 May 2017 13:11:19 +0000 (15:11 +0200)
committerKai Michaelis <kai@gnupg.org>
Wed, 17 May 2017 13:11:19 +0000 (15:11 +0200)
web/share/campaign/campaign.js

index ffba06f..a68a8b6 100644 (file)
@@ -63,7 +63,7 @@ $(document).ready(function() {
 
   for (let value of vals) {
     $(".amount-btn-" + value.toString()).attr("href","#");
-    $(".amount-btn-" + value.toString()).one("onclick",function() {
+    $(".amount-btn-" + value.toString()).one("click",function() {
       $("#amountother").attr("value",value.toString());
     });
   }