UI: Force browser to show animation on load

This commit is contained in:
Daniel 2023-10-15 01:59:12 +02:00
parent dcc5632cd1
commit 9eef1ee2c7

View File

@ -23,6 +23,8 @@ export default class App {
this.settings = new Settings() this.settings = new Settings()
showPage("home") showPage("home")
setTimeout(() => {
document.body.classList.add("loaded") document.body.classList.add("loaded")
}, 100)
} }
} }