summaryrefslogtreecommitdiff
path: root/ext/js/display
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-04-07 19:07:42 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-04-09 18:20:44 -0400
commit66f6ee228ed02ad6c1b13a0f7e4e3059d8b6afa4 (patch)
tree21a3ae7d0365a39c83b237f2689b5d5457dc98b8 /ext/js/display
parent36b7e34cce776cb09a76c28ce8e78e864dabcdda (diff)
Fix autofocus sometimes not working on the search page (#1597)
Diffstat (limited to 'ext/js/display')
-rw-r--r--ext/js/display/search-main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/search-main.js b/ext/js/display/search-main.js
index 5ad50500..056d4788 100644
--- a/ext/js/display/search-main.js
+++ b/ext/js/display/search-main.js
@@ -26,7 +26,7 @@
(async () => {
try {
- const documentFocusController = new DocumentFocusController();
+ const documentFocusController = new DocumentFocusController('#search-textbox');
documentFocusController.prepare();
await yomichan.prepare();