Improve wallpaper feature
This commit is contained in:
parent
1dce62e42a
commit
37c80e8ef5
9 changed files with 32 additions and 48 deletions
|
|
@ -53,6 +53,11 @@ html
|
|||
document.documentElement.classList.add('f-' + fontSize);
|
||||
}
|
||||
|
||||
const wallpaper = localStorage.getItem('wallpaper');
|
||||
if (wallpaper) {
|
||||
document.documentElement.style.backgroundImage = `url(${wallpaper})`;
|
||||
}
|
||||
|
||||
body
|
||||
noscript: p
|
||||
| JavaScriptを有効にしてください
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue