1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-26 15:14:37 +02:00

Update boot.ts

This commit is contained in:
syuilo
2024-08-26 17:18:49 +09:00
parent bbc6d9fbc7
commit d92860643d

View File

@@ -35,3 +35,17 @@ const app = createApp(
app.provide('embedParams', embedParams);
//#endregion
removeSplash();
function removeSplash() {
const splash = document.getElementById('splash');
if (splash) {
splash.style.opacity = '0';
splash.style.pointerEvents = 'none';
// transitionendイベントが発火しない場合があるため
window.setTimeout(() => {
splash.remove();
}, 1000);
}
}