aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/search.js4
1 files changed, 4 insertions, 0 deletions
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;
}