]> nos-oignons.net Git - website.git/blobdiff - Donnez.html
utilisation d'un commentaire 'block'
[website.git] / 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";