prototype keyboard trap toggle

- needs updating all language files
- replicate changes to all templates
This commit is contained in:
El RIDO 2024-11-24 11:45:46 +01:00
parent 5ba56c20cb
commit 544c4d2f5f
6 changed files with 41 additions and 13 deletions

View file

@ -68,7 +68,7 @@
} else {
delStoredPrettifyTheme()
}
const toggle = document.querySelector('#bd-theme')
const toggle = document.getElementById('bd-theme')
const theme = getStoredPreferredTheme()
setTheme(theme)
toggle.checked = (theme === 'dark')