compatibility with stricter CPS (akkoma)

This commit is contained in:
Henry Jameson 2025-06-25 22:06:57 +03:00
commit 7702c209d5
2 changed files with 2 additions and 1 deletions

View file

@ -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