fix: Fix CR and doc-string
This commit is contained in:
parent
18927bf85d
commit
97b92e7da1
2 changed files with 9 additions and 7 deletions
|
@ -20,8 +20,8 @@ window.addEventListener('load', async () => {
|
|||
|
||||
|
||||
function checkScheme(scheme) {
|
||||
if (THEME_LIGHT == false) return "dark"
|
||||
if (THEME_DARK == false) return "light"
|
||||
if (THEME_LIGHT === false) return "dark"
|
||||
if (THEME_DARK === false) return "light"
|
||||
return scheme
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue