commit 23e88d871e42d8c15d44e1ed971b7f0be8aecbdf
parent 75b19446221adf45195734a14977db910c0a2e8d
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Thu, 2 Feb 2023 19:41:26 +0100
fix to avoid broken redirection
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/template.md b/template.md
@@ -1,6 +1,6 @@
**Question NUM :** Trouver un mot *GENDER* se finissant en *-SUFFIX* !
-<form action="#" onsubmit="window.location.href = document.getElementById('page').value + '.html';">
+<form action="#" onsubmit="window.location.href = document.getElementById('page').value + '.html'; return false;">
<input id="page" placeholder="votre mot ici"/>
<input type="submit" value="Valider"/>
</form>