Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-03-21 18:09:05 +0300
committerShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-03-21 18:09:05 +0300
commit6f4eefe60181a9913155ec8c1cc644bf78b23ea3 (patch)
tree78f71984c421ba6a27b23a0d421825da1f878352 /web/html/xui/xray.html
parent510c35f450e13fc833ab2c9a59e4822c0c0f658c (diff)
chore: make class to get the device form factor
Diffstat (limited to 'web/html/xui/xray.html')
-rw-r--r--web/html/xui/xray.html2
1 files changed, 1 insertions, 1 deletions
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,