compatibility with stricter CPS (akkoma)
This commit is contained in:
parent
587be9afc0
commit
7702c209d5
2 changed files with 2 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ export const applyConfig = (input) => {
|
|||
.map(([k, v]) => `--${k}: ${v}`).join(';')
|
||||
|
||||
document.getElementById('style-config')?.remove()
|
||||
const styleEl = document.createElement('style')
|
||||
const styleEl = document.getElementById('theme-holder')
|
||||
styleEl.id = 'style-config'
|
||||
head.appendChild(styleEl)
|
||||
const styleSheet = styleEl.sheet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue