We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50abdb4 commit c8f44bdCopy full SHA for c8f44bd
src/js/gui.js
@@ -392,7 +392,8 @@ class GuiControl {
392
// Add Enter key support for single-choice dialog
393
$(document).off("keydown.informationDialog");
394
$(document).on("keydown.informationDialog", (e) => {
395
- if (e.which === 13) {
+ // Only trigger if Enter key is pressed and target is not an input/textarea
396
+ if (e.which === 13 && !$(e.target).is("input, textarea")) {
397
e.preventDefault();
398
confirmAction();
399
}
0 commit comments