From 5be825714930b3e59f027b256cbd40218ac0d2fd Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Wed, 3 Aug 2022 11:04:28 +0300 Subject: [PATCH] loading function ejected from vue instance --- resources/assets/js/mixins/global.js | 5 ----- resources/views/components/loading/absolute.blade.php | 2 +- resources/views/components/loading/content.blade.php | 2 +- resources/views/components/loading/menu.blade.php | 2 +- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/resources/assets/js/mixins/global.js b/resources/assets/js/mixins/global.js index dd9748b3c..a160b1ba5 100644 --- a/resources/assets/js/mixins/global.js +++ b/resources/assets/js/mixins/global.js @@ -87,7 +87,6 @@ export default { "thousands_separator":",", }, all_currencies: [], - content_loading: true, connect: { show: false, currency: {}, @@ -111,10 +110,6 @@ export default { }, mounted() { - setTimeout(() => { - this.content_loading = false; - }, 1500); - this.checkNotify(); GLightbox({ diff --git a/resources/views/components/loading/absolute.blade.php b/resources/views/components/loading/absolute.blade.php index cc637840d..9d473dcbb 100644 --- a/resources/views/components/loading/absolute.blade.php +++ b/resources/views/components/loading/absolute.blade.php @@ -1,4 +1,4 @@ -
+
Akaunting
\ No newline at end of file diff --git a/resources/views/components/loading/content.blade.php b/resources/views/components/loading/content.blade.php index eb3ed92a0..0d290e0e2 100644 --- a/resources/views/components/loading/content.blade.php +++ b/resources/views/components/loading/content.blade.php @@ -1,4 +1,4 @@ -
+
Akaunting
diff --git a/resources/views/components/loading/menu.blade.php b/resources/views/components/loading/menu.blade.php index ebfc4a549..0c834e593 100644 --- a/resources/views/components/loading/menu.blade.php +++ b/resources/views/components/loading/menu.blade.php @@ -86,7 +86,7 @@ setTimeout(() => { loading_menu_html[0].remove(); menu_html.classList.remove('hidden'); - }, 800); + }, timer); if (loading_html.length) { setTimeout(() => {