Mercurial > prosody-modules
comparison mod_invites_page/static/invite.js @ 5721:40558231ab7d
mod_invites_page: Typo in preventing the default event when clicking on show all
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 16 Nov 2023 16:31:02 +0100 |
parents | 18bae78282a6 |
children | 5f7f6ee32a11 |
comparison
equal
deleted
inserted
replaced
5720:0f103a6e9ba4 | 5721:40558231ab7d |
---|---|
61 show_all_clients_button_container.classList.remove("d-none"); | 61 show_all_clients_button_container.classList.remove("d-none"); |
62 document.getElementById('show-all-clients-button').addEventListener('click', function (e) { | 62 document.getElementById('show-all-clients-button').addEventListener('click', function (e) { |
63 for (let card of client_cards) | 63 for (let card of client_cards) |
64 card.hidden = false; | 64 card.hidden = false; |
65 show_all_clients_button_container.hidden = true; | 65 show_all_clients_button_container.hidden = true; |
66 e.preventDefaults(); | 66 e.preventDefault(); |
67 }); | 67 }); |
68 } | 68 } |
69 } | 69 } |
70 })(); | 70 })(); |