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/fg/js/popup-window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/fg') diff --git a/ext/fg/js/popup-window.js b/ext/fg/js/popup-window.js index 9398c287..5fa0c647 100644 --- a/ext/fg/js/popup-window.js +++ b/ext/fg/js/popup-window.js @@ -85,7 +85,7 @@ class PopupWindow extends EventDispatcher { return (this._popupTabId !== null && await api.isTabSearchPopup(this._popupTabId)); } - setVisibleOverride(_value, _priority) { + async setVisibleOverride(_value, _priority) { return null; } -- cgit v1.2.3