Undo "Obscure the iframe's URL from the host page"

There are some additional issues which cause the frame to be reset to
about:blank on certain occasions which must be fixed before this can be
used.
This commit is contained in:
toasted-nutbread 2020-02-16 18:47:46 -05:00
parent cc989f4411
commit 36605f74c3

View File

@ -238,7 +238,7 @@ class Popup {
this._observeFullscreen();
this._onFullscreenChanged();
this.setCustomOuterCss(this._options.general.customPopupOuterCss, false);
this._container.contentDocument.location.href = chrome.runtime.getURL('/fg/float.html');
this._container.setAttribute('src', chrome.runtime.getURL('/fg/float.html'));
});
}