From 4051444c11bac5ecf4c49c9322c9fe6660504008 Mon Sep 17 00:00:00 2001 From: Christian Bastian <80225746+cdb-boop@users.noreply.github.com> Date: Sun, 31 Mar 2024 04:52:10 -0400 Subject: [PATCH] Revert enter to select and submit. --- web/model-manager.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/model-manager.js b/web/model-manager.js index c5149ed..ee2f02c 100644 --- a/web/model-manager.js +++ b/web/model-manager.js @@ -991,8 +991,6 @@ class DirectoryDropdown { else if (e.key === "Enter") { e.stopPropagation(); const input = e.target - /* - // enter is for search const selection = options[iSelection]; if (selection !== undefined && selection !== null) { DirectoryDropdown.selectionToInput( @@ -1007,7 +1005,6 @@ class DirectoryDropdown { } updateCallback(); } - */ await submitCallback(); input.blur(); }