diff options
| author | WerWolv <werwolv98@gmail.com> | 2022-04-22 14:30:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-22 14:30:58 +0200 |
| commit | 3f3f6bd475fe5229d5e28b4e0dc314d27c24c6fe (patch) | |
| tree | 994ec93276a7e5dba090fecc35bceedada09c548 | |
| parent | 4b2f8cd8f5f89cb171e8169dffc8f2e939a473c2 (diff) | |
| download | decky-loader-3f3f6bd475fe5229d5e28b4e0dc314d27c24c6fe.tar.gz decky-loader-3f3f6bd475fe5229d5e28b4e0dc314d27c24c6fe.zip | |
Allow inject_css_into_tab to create more than just a single css rule
| -rw-r--r-- | plugin_loader/utilities.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_loader/utilities.py b/plugin_loader/utilities.py index 0d6c549b..34032e43 100644 --- a/plugin_loader/utilities.py +++ b/plugin_loader/utilities.py @@ -59,7 +59,7 @@ class Utilities: const style = document.createElement('style'); style.id = "{css_id}"; document.head.append(style); - style.sheet.insertRule(`{style}`); + style.textContent = `{style}`; }})() """, False) |
