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/xray.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/xui/xray.html') diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index 8ba14f7d..f8f3071d 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -877,7 +877,7 @@ refreshing: false, restartResult: '', showAlert: false, - isMobile: window.innerWidth <= 768, + isMobile: DeviceUtils.isMobile(), advSettings: 'xraySetting', obsSettings: '', cm: null, -- cgit v1.2.3