summaryrefslogtreecommitdiff
path: root/ext/fg/js/popup-proxy-host.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js/popup-proxy-host.js')
-rw-r--r--ext/fg/js/popup-proxy-host.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/fg/js/popup-proxy-host.js b/ext/fg/js/popup-proxy-host.js
index 9ff8a8c8..e13d6f05 100644
--- a/ext/fg/js/popup-proxy-host.js
+++ b/ext/fg/js/popup-proxy-host.js
@@ -27,12 +27,6 @@ class PopupProxyHost {
// Public functions
- static create() {
- const popupProxyHost = new PopupProxyHost();
- popupProxyHost.prepare();
- return popupProxyHost;
- }
-
async prepare() {
this._frameIdPromise = apiFrameInformationGet();
const {frameId} = await this._frameIdPromise;
@@ -143,5 +137,3 @@ class PopupProxyHost {
return popup.parent === null || popup.parent.isVisibleSync();
}
}
-
-PopupProxyHost.instance = PopupProxyHost.create();