From 5bbfa5ab255bd1f61582d49a2c884cbe2df906fd Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 16 Sep 2024 03:06:19 +0300 Subject: attemt to fix production --- src/App.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/App.js b/src/App.js index 9c1f24a7..e1ce8808 100644 --- a/src/App.js +++ b/src/App.js @@ -46,9 +46,11 @@ export default { }), watch: { themeApplied (value) { - document.querySelector('#app').classList.remove('hidden') - document.querySelector('#splash').classList.add('hidden') - document.querySelector('#status').textContent = this.$t('splash.fun_' + Math.ceil(Math.random() * 4)) + this.$nextTick(() => { + document.querySelector('#app').classList.remove('hidden') + document.querySelector('#splash').classList.add('hidden') + document.querySelector('#status').textContent = this.$t('splash.fun_' + Math.ceil(Math.random() * 4)) + }) } }, created () { -- cgit v1.2.3-70-g09d2