Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c17168
)
fix input type during a myChoice call
author
Laurent Mazet
<mazet@softndesign.org>
Sun, 26 Jan 2025 15:44:42 +0000
(16:44 +0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Sun, 26 Jan 2025 15:44:42 +0000
(16:44 +0100)
public/alert.js
patch
|
blob
|
blame
|
history
diff --git
a/public/alert.js
b/public/alert.js
index 1a433263b7e45eaedc8fe0c2feaf3d624e97ef2d..7709b70a5fbe94e442e58cd70ed2164d0e951ecb 100644
(file)
--- 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;