diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2019-07-08 04:32:57 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-07-08 04:32:57 +0900 |
| commit | 6064c3ae47df8b1cc07874731ec7dddf7c30bbe8 (patch) | |
| tree | 8435870f5e71699eab1bd1f760f570c05116ee11 /src/client | |
| parent | Merge branch 'develop' into pr/4549 (diff) | |
| download | sharkey-6064c3ae47df8b1cc07874731ec7dddf7c30bbe8.tar.gz sharkey-6064c3ae47df8b1cc07874731ec7dddf7c30bbe8.tar.bz2 sharkey-6064c3ae47df8b1cc07874731ec7dddf7c30bbe8.zip | |
Add semicolons
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/boot.js | 6 |
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; } } |