diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-16 12:23:20 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-16 12:23:20 -0500 |
commit | b5d32c73e657c882ba6f70b79d4a5e214684f563 (patch) | |
tree | 64e63413e8307a43ef65b318dec88a3a76e4cd3f /ext/fg/js/popup-proxy-host.js | |
parent | 42f1c2463c8051d9cbbcacd43f06922c2f11ec71 (diff) |
Simplify process to wait for iframe prepare completion
Diffstat (limited to 'ext/fg/js/popup-proxy-host.js')
-rw-r--r-- | ext/fg/js/popup-proxy-host.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/fg/js/popup-proxy-host.js b/ext/fg/js/popup-proxy-host.js index f6a3d451..98729796 100644 --- a/ext/fg/js/popup-proxy-host.js +++ b/ext/fg/js/popup-proxy-host.js @@ -43,8 +43,7 @@ class PopupProxyHost { ['showContent', ({id, elementRect, writingMode, type, details}) => this._onApiShowContent(id, elementRect, writingMode, type, details)], ['setCustomCss', ({id, css}) => this._onApiSetCustomCss(id, css)], ['clearAutoPlayTimer', ({id}) => this._onApiClearAutoPlayTimer(id)], - ['setContentScale', ({id, scale}) => this._onApiSetContentScale(id, scale)], - ['setDisplayInitialized', ({id}) => this._onApiSetDisplayInitialized(id)] + ['setContentScale', ({id, scale}) => this._onApiSetContentScale(id, scale)] ])); } @@ -105,11 +104,6 @@ class PopupProxyHost { return popup.setContentScale(scale); } - async _onApiSetDisplayInitialized(id) { - const popup = this._getPopup(id); - return popup.setDisplayInitialized(); - } - // Private functions _createPopupInternal(parentId, depth) { |