diff --git a/assets/search.js b/assets/search.js index 33a8a5e..2d75fee 100644 --- a/assets/search.js +++ b/assets/search.js @@ -30,6 +30,10 @@ * @param {Event} event */ function focusSearchFieldOnKeyPress(event) { + if (event.target.value !== undefined) { + return; + } + if (input === document.activeElement) { return; }