From 673952e82576b0bc4b6b02c2105fbb1850e55950 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 9 Feb 2021 23:14:29 -0500 Subject: Fix window popup screenshot (#1365) * Pass tabId to the screenshot functionality * Make setVisibleOverride async * Fix argument order * Fix incorrect windowId * Remove unused argument --- ext/bg/js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/bg/js/search.js') 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'); -- cgit v1.2.3