diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-07-14 00:12:34 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-07-14 00:12:34 +0900 |
| commit | ab439d0ed6e3bc61fd7ef6087f5c73152821933d (patch) | |
| tree | 738c7db4e97626a614fa4ed60992dd521f96543f | |
| parent | Custom CSS (diff) | |
| download | sharkey-ab439d0ed6e3bc61fd7ef6087f5c73152821933d.tar.gz sharkey-ab439d0ed6e3bc61fd7ef6087f5c73152821933d.tar.bz2 sharkey-ab439d0ed6e3bc61fd7ef6087f5c73152821933d.zip | |
Clean up
| -rw-r--r-- | src/client/init.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/client/init.ts b/src/client/init.ts index 12bb0d58c1..d1c408bb77 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -34,18 +34,6 @@ console.info(`Misskey v${version}`); window.onerror = null; window.onunhandledrejection = null; -// 後方互換性のため。 -// TODO: そのうち消す -if ((typeof ColdDeviceStorage.get('lightTheme') === 'string') || (typeof ColdDeviceStorage.get('darkTheme') === 'string')) { - ColdDeviceStorage.set('lightTheme', require('@client/themes/l-light.json5')); - ColdDeviceStorage.set('darkTheme', require('@client/themes/d-dark.json5')); -} -const link = document.createElement('link'); -link.rel = 'stylesheet'; -link.href = 'https://use.fontawesome.com/releases/v5.15.3/css/all.css'; -document.head.appendChild(link); -// TODOここまで - if (_DEV_) { console.warn('Development mode!!!'); |