aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emccpre.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/emccpre.js b/emccpre.js
index 318f799..8e957a0 100644
--- a/emccpre.js
+++ b/emccpre.js
@@ -251,6 +251,7 @@ function dialog_launch(ok_function, cancel_function) {
document.body.appendChild(dlg_dimmer);
document.body.appendChild(dlg_form);
+ dlg_form.querySelector("input,select,a").focus();
}
function dialog_cleanup() {