summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/boot.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/app/boot.js b/src/client/app/boot.js
index 1449334657..583cc4fc8b 100644
--- a/src/client/app/boot.js
+++ b/src/client/app/boot.js
@@ -84,12 +84,12 @@
// Detect the user agent
const ua = navigator.userAgent.toLowerCase();
- let isMobile = /mobile|iphone|ipad|android/.test(ua) || window.innerWidth < 576
+ let isMobile = /mobile|iphone|ipad|android/.test(ua) || window.innerWidth < 576;
if (settings && settings.device.appTypeForce) {
if (settings.device.appTypeForce === 'mobile') {
- isMobile = true
+ isMobile = true;
} else if (settings.device.appTypeForce === 'desktop') {
- isMobile = false
+ isMobile = false;
}
}