diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/fg/js/popup-proxy-host.js | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/ext/fg/js/popup-proxy-host.js b/ext/fg/js/popup-proxy-host.js index f2e2f5d0..83518f44 100644 --- a/ext/fg/js/popup-proxy-host.js +++ b/ext/fg/js/popup-proxy-host.js @@ -65,10 +65,6 @@ class PopupProxyHost {          return popup;      } -    async createNestedPopup(parentId) { -        return this.createPopup(parentId, 0).id; -    } -      getPopup(id) {          const popup = this.popups.get(id);          if (typeof popup === 'undefined') { @@ -88,6 +84,12 @@ class PopupProxyHost {          return new DOMRect(x, y, jsonRect.width, jsonRect.height);      } +    // Message handlers + +    async createNestedPopup(parentId) { +        return this.createPopup(parentId, 0).id; +    } +      async setOptions(id, options) {          const popup = this.getPopup(id);          return await popup.setOptions(options); |