Revert enter to select and submit.

This commit is contained in:
Christian Bastian
2024-03-31 04:52:10 -04:00
parent ffd003bda4
commit 4051444c11

View File

@@ -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();
}