mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-12-15 16:29:38 -05:00
prototype keyboard trap toggle
- needs updating all language files - replicate changes to all templates
This commit is contained in:
parent
5ba56c20cb
commit
544c4d2f5f
6 changed files with 41 additions and 13 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue