aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/popup-proxy.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-29 13:00:32 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-29 16:48:28 -0400
commit25a4dafd73890a8181bd072d0b514ec9668ecfea (patch)
tree0954bec1815b2a6f6a4b2e02264894105e65e3d4 /ext/fg/js/popup-proxy.js
parent64eed33e8890df33e3c4acb47c96f0e3c674bd3b (diff)
Fix tab focus being changed due to settings changes
Diffstat (limited to 'ext/fg/js/popup-proxy.js')
-rw-r--r--ext/fg/js/popup-proxy.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/popup-proxy.js b/ext/fg/js/popup-proxy.js
index 235e1730..072cebc9 100644
--- a/ext/fg/js/popup-proxy.js
+++ b/ext/fg/js/popup-proxy.js
@@ -58,11 +58,11 @@ class PopupProxy {
return await this.invokeHostApi('showOrphaned', {id, elementRect, options});
}
- async hide() {
+ async hide(changeFocus) {
if (this.id === null) {
return;
}
- return await this.invokeHostApi('hide', {id: this.id});
+ return await this.invokeHostApi('hide', {id: this.id, changeFocus});
}
async setVisible(visible) {