diff options
Diffstat (limited to 'internal/ui/static/js/app.js')
-rw-r--r-- | internal/ui/static/js/app.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/internal/ui/static/js/app.js b/internal/ui/static/js/app.js index 99145d49..599119a2 100644 --- a/internal/ui/static/js/app.js +++ b/internal/ui/static/js/app.js @@ -121,19 +121,6 @@ function handleSubmitButtons() { }); } -// Set cursor focus to the search input. -function setFocusToSearchInput(event) { - event.preventDefault(); - event.stopPropagation(); - const toggleSearchButton = document.querySelector(".search details") - if (!toggleSearchButton.getAttribute("open")) { - toggleSearchButton.setAttribute("open", "") - const searchInputElement = document.getElementById("search-input"); - searchInputElement.focus(); - searchInputElement.value = ""; - } -} - // Show modal dialog with the list of keyboard shortcuts. function showKeyboardShortcuts() { let template = document.getElementById("keyboard-shortcuts"); |