1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-21 02:55:25 +02:00

Merge branch 'develop' into mahjong

This commit is contained in:
syuilo
2024-02-09 19:34:18 +09:00
27 changed files with 644 additions and 221 deletions

View File

@@ -60,12 +60,6 @@ export async function common(createVue: () => App<Element>) {
});
}
const splash = document.getElementById('splash');
// 念のためnullチェック(HTMLが古い場合があるため(そのうち消す))
if (splash) splash.addEventListener('transitionend', () => {
splash.remove();
});
let isClientUpdated = false;
//#region クライアントが更新されたかチェック
@@ -289,5 +283,10 @@ function removeSplash() {
if (splash) {
splash.style.opacity = '0';
splash.style.pointerEvents = 'none';
// transitionendイベントが発火しない場合があるため
window.setTimeout(() => {
splash.remove();
}, 1000);
}
}