summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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 de05f9f5..45203c03 100644
--- a/ext/fg/js/popup.js
+++ b/ext/fg/js/popup.js
@@ -228,6 +228,7 @@ class Popup {
return new Promise((resolve) => {
const parentFrameId = (typeof this._frameId === 'number' ? this._frameId : null);
+ this._container.setAttribute('src', chrome.runtime.getURL('/fg/float.html'));
this._container.addEventListener('load', () => {
const uniqueId = yomichan.generateId(32);
Popup._listenForDisplayPrepareCompleted(uniqueId, resolve);
@@ -248,7 +249,6 @@ class Popup {
this._observeFullscreen(true);
this._onFullscreenChanged();
this.setCustomOuterCss(this._options.general.customPopupOuterCss, false);
- this._container.setAttribute('src', chrome.runtime.getURL('/fg/float.html'));
});
}