aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-09-16 03:06:19 +0300
committerHenry Jameson <me@hjkos.com>2024-09-17 22:57:39 +0300
commit5bbfa5ab255bd1f61582d49a2c884cbe2df906fd (patch)
treea9834bf412c19e9d53e6527538b089440190fd2e /src
parent2abde63afc9ecdd4f1faa070650236597fbbf116 (diff)
attemt to fix production
Diffstat (limited to 'src')
-rw-r--r--src/App.js8
1 files changed, 5 insertions, 3 deletions
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 () {