diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-15 08:29:59 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-15 08:29:59 +0900 |
| commit | 37c80e8ef50c833f30fc96635ff8317155a79a45 (patch) | |
| tree | a3765cbf892205b6d293dd4853fbaae9d1266e51 /src/client/init.ts | |
| parent | :art: (diff) | |
| download | sharkey-37c80e8ef50c833f30fc96635ff8317155a79a45.tar.gz sharkey-37c80e8ef50c833f30fc96635ff8317155a79a45.tar.bz2 sharkey-37c80e8ef50c833f30fc96635ff8317155a79a45.zip | |
Improve wallpaper feature
Diffstat (limited to 'src/client/init.ts')
| -rw-r--r-- | src/client/init.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/init.ts b/src/client/init.ts index b013637f7f..69f071ddcf 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -136,8 +136,6 @@ document.body.innerHTML = '<div id="app"></div>'; const os = new MiOS(); os.init(async () => { - if (os.store.state.settings.wallpaper) document.documentElement.style.backgroundImage = `url(${os.store.state.settings.wallpaper})`; - if ('Notification' in window && os.store.getters.isSignedIn) { // 許可を得ていなかったらリクエスト if (Notification.permission === 'default') { |