diff options
Diffstat (limited to 'ext/fg/js/popup-proxy.js')
-rw-r--r-- | ext/fg/js/popup-proxy.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/fg/js/popup-proxy.js b/ext/fg/js/popup-proxy.js index f1b3ab21..efbc72a6 100644 --- a/ext/fg/js/popup-proxy.js +++ b/ext/fg/js/popup-proxy.js @@ -86,8 +86,12 @@ class PopupProxy extends EventDispatcher { return this._invokeSafe('isVisible', {id: this._id}, false); } - setVisibleOverride(visible) { - return this._invokeSafe('setVisibleOverride', {id: this._id, visible}); + async setVisibleOverride(value, priority) { + return this._invokeSafe('setVisibleOverride', {id: this._id, value, priority}); + } + + async clearVisibleOverride(token) { + return this._invokeSafe('clearVisibleOverride', {id: this._id, token}); } async containsPoint(x, y) { |