summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-05-25 16:03:03 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-05-25 16:03:03 +0900
commit73c29cbc52d4ddf1b0b5eaf4fe5cc0c3d18fc660 (patch)
treedda992003b175e591f883ad2f4e35597584519d9
parentv1873 (diff)
downloadmisskey-73c29cbc52d4ddf1b0b5eaf4fe5cc0c3d18fc660.tar.gz
misskey-73c29cbc52d4ddf1b0b5eaf4fe5cc0c3d18fc660.tar.bz2
misskey-73c29cbc52d4ddf1b0b5eaf4fe5cc0c3d18fc660.zip
Fix Safari/iOS issue
-rw-r--r--src/web/app/boot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/boot.js b/src/web/app/boot.js
index 4ac3a020ea..7cfa71df21 100644
--- a/src/web/app/boot.js
+++ b/src/web/app/boot.js
@@ -32,7 +32,7 @@ const ua = navigator.userAgent.toLowerCase();
const isMobile = /mobile|iphone|ipad|android/.test(ua);
// Get the <head> element
-const [head] = document.getElementsByTagName('head');
+const head = document.getElementsByTagName('head')[0];
// If mobile, insert the viewport meta tag
if (isMobile) {