diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2019-03-21 04:10:49 +0900 |
|---|---|---|
| committer | Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com> | 2019-07-07 02:18:24 +0900 |
| commit | 82d2b0608fc8301b18ba4c1b90a7c2a8c767bddf (patch) | |
| tree | 5be5122ddf8b463e0be1cc6ad9a731f20b5b1b12 /src/client/app/boot.js | |
| parent | Support password-less login with WebAuthn (#5112) (diff) | |
| download | misskey-82d2b0608fc8301b18ba4c1b90a7c2a8c767bddf.tar.gz misskey-82d2b0608fc8301b18ba4c1b90a7c2a8c767bddf.tar.bz2 misskey-82d2b0608fc8301b18ba4c1b90a7c2a8c767bddf.zip | |
fix #1442, fix #2106
Diffstat (limited to 'src/client/app/boot.js')
| -rw-r--r-- | src/client/app/boot.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 <head> element const head = document.getElementsByTagName('head')[0]; |