Update theme-init.js
This commit is contained in:
parent
928655cb95
commit
58fafe88bf
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
} else {
|
||||
document.documentElement.removeAttribute("data-theme");
|
||||
}
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
// If localStorage is blocked, just fall back to light theme
|
||||
document.documentElement.removeAttribute("data-theme");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue