Update script.js
This commit is contained in:
parent
ddb7292116
commit
928655cb95
1 changed files with 2 additions and 2 deletions
|
|
@ -549,7 +549,7 @@ function initThemeFromPreference() {
|
|||
let stored = null;
|
||||
try {
|
||||
stored = localStorage.getItem(THEME_STORAGE_KEY);
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
|
||||
|
|
@ -599,7 +599,7 @@ function createThemeToggle(initialTheme) {
|
|||
|
||||
try {
|
||||
localStorage.setItem(THEME_STORAGE_KEY, newTheme);
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue