commit: 5bbfa5ab255bd1f61582d49a2c884cbe2df906fd
parent 2abde63afc9ecdd4f1faa070650236597fbbf116
Author: Henry Jameson <me@hjkos.com>
Date:   Mon, 16 Sep 2024 03:06:19 +0300
attemt to fix production
Diffstat:
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/index.html b/index.html
@@ -22,7 +22,7 @@
       font-family: sans-serif;
       color: #b9b9ba;
       position: absolute;
-      z-index: 99;
+      z-index: 999999;
       "
     >
       <img
diff --git 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 () {