This commit is contained in:
tamaina
2022-11-24 18:27:05 +09:00
parent 11d2654ffc
commit 8b9dc962ae
7 changed files with 83 additions and 212 deletions

View File

@@ -38,7 +38,6 @@ import { reloadChannel } from '@/scripts/unison-reload';
import { reactionPicker } from '@/scripts/reaction-picker';
import { getUrlWithoutLoginId } from '@/scripts/login-id';
import { getAccountFromId } from '@/scripts/get-account-from-id';
import { deckStore } from './ui/deck/deck-store';
(async () => {
console.info(`Misskey v${version}`);
@@ -74,8 +73,6 @@ import { deckStore } from './ui/deck/deck-store';
});
}
await defaultStore.ready;
// タッチデバイスでCSSの:hoverを機能させる
document.addEventListener('touchend', () => {}, { passive: true });
@@ -191,8 +188,6 @@ import { deckStore } from './ui/deck/deck-store';
splash.remove();
});
await deckStore.ready;
// https://github.com/misskey-dev/misskey/pull/8575#issuecomment-1114239210
// なぜかinit.tsの内容が2回実行されることがあるため、mountするdivを1つに制限する
const rootEl = (() => {