aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/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/fg/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/fg/js')
-rw-r--r--ext/fg/js/popup-window.js2
1 files changed, 1 insertions, 1 deletions
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;
}