summaryrefslogtreecommitdiff
path: root/src/client/init.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2021-01-16 13:46:46 +0900
committersyuilo <syuilotan@yahoo.co.jp>2021-01-16 13:46:46 +0900
commita44ad6344069ba9f1bfefc018313d6b46958aeef (patch)
tree1709dc161333d0ca5c82fa4cef23add76be9a7b4 /src/client/init.ts
parentUpdate boot.js (diff)
downloadmisskey-a44ad6344069ba9f1bfefc018313d6b46958aeef.tar.gz
misskey-a44ad6344069ba9f1bfefc018313d6b46958aeef.tar.bz2
misskey-a44ad6344069ba9f1bfefc018313d6b46958aeef.zip
Better boot handling
Diffstat (limited to 'src/client/init.ts')
-rw-r--r--src/client/init.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/init.ts b/src/client/init.ts
index 554b4b3320..f329d22251 100644
--- a/src/client/init.ts
+++ b/src/client/init.ts
@@ -60,8 +60,6 @@ import { getThemes } from './theme-store';
console.info(`Misskey v${version}`);
-window.clearTimeout((window as any).mkBootTimer);
-
if (_DEV_) {
console.warn('Development mode!!!');
@@ -170,6 +168,8 @@ if ($i && $i.token) {
//#endregion
fetchInstance().then(() => {
+ localStorage.setItem('v', instance.version);
+
// Init service worker
//if (this.store.state.instance.meta.swPublickey) this.registerSw(this.store.state.instance.meta.swPublickey);
});