diff options
| author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-16 13:53:19 -0500 | 
|---|---|---|
| committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-16 21:46:13 -0500 | 
| commit | 3d27e80ae646bcc9c421cbc8aa281008f47c8992 (patch) | |
| tree | 35ecfc1f01efacea9c0524521ba30c7302f4dc0c /ext/fg/js | |
| parent | 9fd6ee382d35fb5fcfc3e6d0f4fab711b37b693e (diff) | |
Delay CSS injection until a popup is created
Diffstat (limited to 'ext/fg/js')
| -rw-r--r-- | ext/fg/js/popup.js | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js index d799e371..dc538b02 100644 --- a/ext/fg/js/popup.js +++ b/ext/fg/js/popup.js @@ -220,6 +220,7 @@ class Popup {              this._observeFullscreen(true);              this._onFullscreenChanged();              try { +                Popup._injectStylesheet('yomichan-popup-outer-stylesheet', 'file', '/fg/css/client.css', true);                  this.setCustomOuterCss(this._options.general.customPopupOuterCss, true);              } catch (e) {                  // NOP |