commit | bdd3acd458516a316a34a6b5dab4c4cb368909db | [log] [tgz] |
---|---|---|
author | Ferran López <flg@tuta.io> | Sun Oct 04 00:02:32 2020 +0200 |
committer | Ferran López <flg@tuta.io> | Sun Oct 04 00:02:32 2020 +0200 |
tree | 315368262fc3a5a0e1be1a2d01046f960d37459b | |
parent | 4138be8f8b93ba46a0ed9f8c08ad17ee6271fdb7 [diff] |
Organització del codi
diff --git a/js/build_page.js b/js/build_page.js index 61e7505..d281c58 100644 --- a/js/build_page.js +++ b/js/build_page.js
@@ -266,7 +266,7 @@ }); document.getElementById("send-button").addEventListener('click', function (el) { - el.classList.add('is-loading'); + document.getElementById("send-button").classList.add('is-loading'); sendForm(); }); }