Allow inject_css_into_tab to create more than just a single css rule

This commit is contained in:
WerWolv
2022-04-22 14:30:58 +02:00
committed by GitHub
parent 4b2f8cd8f5
commit 3f3f6bd475
+1 -1
View File
@@ -59,7 +59,7 @@ class Utilities:
const style = document.createElement('style'); const style = document.createElement('style');
style.id = "{css_id}"; style.id = "{css_id}";
document.head.append(style); document.head.append(style);
style.sheet.insertRule(`{style}`); style.textContent = `{style}`;
}})() }})()
""", False) """, False)