summaryrefslogtreecommitdiff
path: root/src/server/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-12-26 18:33:54 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-12-26 18:33:54 +0900
commit78598a92f94d18fa6177f8ca4908954c1c9dc8bf (patch)
treee7b5220bdd36f8f28f2c768017ae60f6423a5a75 /src/server/web
parentRefactoring (diff)
downloadsharkey-78598a92f94d18fa6177f8ca4908954c1c9dc8bf.tar.gz
sharkey-78598a92f94d18fa6177f8ca4908954c1c9dc8bf.tar.bz2
sharkey-78598a92f94d18fa6177f8ca4908954c1c9dc8bf.zip
Improve deck
Diffstat (limited to 'src/server/web')
-rw-r--r--src/server/web/boot.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/web/boot.js b/src/server/web/boot.js
index 8b1fd9a619..12731e5d3b 100644
--- a/src/server/web/boot.js
+++ b/src/server/web/boot.js
@@ -104,6 +104,11 @@
document.documentElement.classList.add('useSystemFont');
}
+ const wallpaper = localStorage.getItem('wallpaper');
+ if (wallpaper) {
+ document.documentElement.style.backgroundImage = `url(${wallpaper})`;
+ }
+
// eslint-disable-next-line no-inner-declarations
function refresh() {
// Random