Add semicolons

This commit is contained in:
syuilo 2019-07-08 04:32:57 +09:00
parent 05862a420f
commit 6064c3ae47

View file

@ -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;
}
}