From 6f4eefe60181a9913155ec8c1cc644bf78b23ea3 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Fri, 21 Mar 2025 15:09:05 +0000 Subject: chore: make class to get the device form factor --- web/html/xui/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/xui/index.html') diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 92b25d5c..c072893d 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -601,7 +601,7 @@ loadingTip: '{{ i18n "loading"}}', showAlert: false, showIp: false, - isMobile: window.innerWidth <= 768 + isMobile: DeviceUtils.isMobile() }, methods: { loading(spinning, tip = '{{ i18n "loading"}}') { -- cgit v1.2.3 From 40ebf2902eae6b87c8fa2f7239f7a0dd10e26260 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Mon, 24 Mar 2025 10:02:01 +0000 Subject: fix: dashboard won't load --- web/html/xui/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/xui/index.html') diff --git a/web/html/xui/index.html b/web/html/xui/index.html index c072893d..073564c3 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -419,7 +419,7 @@ {{template "js" .}} {{template "component/aThemeSwitch" .}} {{template "component/aCustomStatistic" .}} -{{template "textModal"}} +{{template "modals/textModal"}}