From 6064c3ae47df8b1cc07874731ec7dddf7c30bbe8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 8 Jul 2019 04:32:57 +0900 Subject: [PATCH] Add semicolons --- src/client/app/boot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/app/boot.js b/src/client/app/boot.js index 144933465..583cc4fc8 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; } }