From 3f3f6bd475fe5229d5e28b4e0dc314d27c24c6fe Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 22 Apr 2022 14:30:58 +0200 Subject: Allow inject_css_into_tab to create more than just a single css rule --- plugin_loader/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3