From 82d2b0608fc8301b18ba4c1b90a7c2a8c767bddf Mon Sep 17 00:00:00 2001 From: tamaina Date: Thu, 21 Mar 2019 04:10:49 +0900 Subject: fix #1442, fix #2106 --- src/client/app/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/app/boot.js') diff --git a/src/client/app/boot.js b/src/client/app/boot.js index 6cb1488e40..01104bf715 100644 --- a/src/client/app/boot.js +++ b/src/client/app/boot.js @@ -84,7 +84,7 @@ // Detect the user agent const ua = navigator.userAgent.toLowerCase(); - const isMobile = /mobile|iphone|ipad|android/.test(ua); + const isMobile = /mobile|iphone|ipad|android/.test(ua) || window.innerWidth < 576; // Get the element const head = document.getElementsByTagName('head')[0]; -- cgit v1.3.1-freya