]> nos-oignons.net Git - website.git/commitdiff
utilisation d'un commentaire 'block'
authoropi <opi@no-log.org>
Tue, 9 Dec 2014 16:29:15 +0000 (17:29 +0100)
committeropi <opi@no-log.org>
Tue, 9 Dec 2014 16:40:23 +0000 (17:40 +0100)
Donnez.html

index 5575d7efd5ccf667b870c252c0753e9301a8d44d..ae7914c10852363566042a25cc93459f0d8e8f73 100644 (file)
     var px = document.querySelector('#px'),
         customAmount = document.querySelector('#custom-amount');
     px.addEventListener('change',function(){
-      // Update input name to prefill FDN form
+      /* Update input name to prefill FDN form */
       if (px.value) {
         px.name = "px";
         customAmount.name = "custom-amount";
         customAmount.value = "";
         customAmount.style.display = "none";
-
       }
       else {
         customAmount.style.display = "inline-block";