summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin_loader/utilities.py2
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)