diff options
| author | Alex Yatskov <FooSoft@users.noreply.github.com> | 2019-09-30 19:53:45 -0700 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-30 19:53:45 -0700 | 
| commit | 00d16433e705b916d4e078244b213cede8bff5bb (patch) | |
| tree | f9e7c3fc6dea6f761288a53bf31cc06fe6567978 /ext/fg/js/popup-proxy.js | |
| parent | eadd03624c6630ce83ba89dc26d52a94c5c23a75 (diff) | |
| parent | 25a4dafd73890a8181bd072d0b514ec9668ecfea (diff) | |
Merge pull request #228 from toasted-nutbread/fix-tab-focus-changing
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.js | 4 | 
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) { |