From: Laurent Mazet Date: Sun, 26 Jan 2025 15:44:42 +0000 (+0100) Subject: fix input type during a myChoice call X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=87e1ea9d693c42d143dc95a269a5ee82e85f295c;p=trivabble.git fix input type during a myChoice call --- diff --git a/public/alert.js b/public/alert.js index 1a43326..7709b70 100644 --- a/public/alert.js +++ b/public/alert.js @@ -220,6 +220,7 @@ for (const key of options.choices) { [].push.call(alertSelect.options, new Option(key, key)); } + alertInput.type = "text"; alertSelect.value = alertInput.value = defaultValue; divAlertContent.textContent = msg;