summaryrefslogtreecommitdiff
path: root/ext/bg/js/search.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-09 23:14:29 -0500
committerGitHub <noreply@github.com>2021-02-09 23:14:29 -0500
commit673952e82576b0bc4b6b02c2105fbb1850e55950 (patch)
treeb69661c8ff852c94be8b67f7f448345e59e6e1fa /ext/bg/js/search.js
parent166451b8f76224542b49c13cb27a258eb291f05e (diff)
Fix window popup screenshot (#1365)
* Pass tabId to the screenshot functionality * Make setVisibleOverride async * Fix argument order * Fix incorrect windowId * Remove unused argument
Diffstat (limited to 'ext/bg/js/search.js')
-rw-r--r--ext/bg/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index dbc679b1..a786b0bf 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -24,7 +24,7 @@
class DisplaySearch extends Display {
constructor(tabId, frameId, japaneseUtil, documentFocusController, hotkeyHandler) {
- super('search', tabId, frameId, japaneseUtil, documentFocusController, hotkeyHandler);
+ super(tabId, frameId, 'search', japaneseUtil, documentFocusController, hotkeyHandler);
this._searchButton = document.querySelector('#search-button');
this._queryInput = document.querySelector('#search-textbox');
this._introElement = document.querySelector('#intro');