diff 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
line wrap: on
line diff
--- a/mod_invites_page/static/invite.js	Thu Nov 16 16:25:52 2023 +0100
+++ b/mod_invites_page/static/invite.js	Thu Nov 16 16:31:02 2023 +0100
@@ -63,7 +63,7 @@
 				for (let card of client_cards)
 					card.hidden = false;
 				show_all_clients_button_container.hidden = true;
-				e.preventDefaults();
+				e.preventDefault();
 			});
 		}
 	}