From fe195f408098683f6ad5544df17ba4abf3769d98 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Wed, 8 Jul 2026 10:53:40 +0200 Subject: [PATCH] Cis App: define isMobile local since it is used in handleClick event handler --- public/js/apps/Cis/Cis.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/js/apps/Cis/Cis.js b/public/js/apps/Cis/Cis.js index fe2ed8837..d4f846f25 100644 --- a/public/js/apps/Cis/Cis.js +++ b/public/js/apps/Cis/Cis.js @@ -257,9 +257,14 @@ const app = Vue.createApp({ provide() { return { // provide injectable & watchable language property language: Vue.computed(() => this.$p.user_language), - isMobile: Vue.computed(() => this.windowWidth < 767), + isMobile: Vue.computed(() => this.isMobile), } }, + computed: { + isMobile: function() { + return (this.windowWidth < 767); + } + }, methods: { isInternalRoute(href) { const internalBase = window.location.origin