aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-16 18:47:46 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-16 18:47:46 -0500
commit36605f74c3d48a98500d198636112454b36063f6 (patch)
tree2a092a62476d4686441fa4424f69f17b9c36c1b9
parentcc989f44113e7961ae0ebdd8b780a636a646f5c3 (diff)
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.
-rw-r--r--ext/fg/js/popup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js
index 5f6a777b..211b649e 100644
--- a/ext/fg/js/popup.js
+++ b/ext/fg/js/popup.js
@@ -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'));
});
}