From c3df6b5aebdd2eda60bb743420be7308e39c1d18 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 25 May 2017 16:03:03 +0900 Subject: [PATCH] Fix Safari/iOS issue --- src/web/app/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/boot.js b/src/web/app/boot.js index 4ac3a020e..7cfa71df2 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 element -const [head] = document.getElementsByTagName('head'); +const head = document.getElementsByTagName('head')[0]; // If mobile, insert the viewport meta tag if (isMobile) {