Add semicolons
This commit is contained in:
parent
c402bc5f29
commit
2bcbb2671c
1 changed files with 3 additions and 3 deletions
|
@ -84,12 +84,12 @@
|
||||||
|
|
||||||
// Detect the user agent
|
// Detect the user agent
|
||||||
const ua = navigator.userAgent.toLowerCase();
|
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 && settings.device.appTypeForce) {
|
||||||
if (settings.device.appTypeForce === 'mobile') {
|
if (settings.device.appTypeForce === 'mobile') {
|
||||||
isMobile = true
|
isMobile = true;
|
||||||
} else if (settings.device.appTypeForce === 'desktop') {
|
} else if (settings.device.appTypeForce === 'desktop') {
|
||||||
isMobile = false
|
isMobile = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue