From 73c29cbc52d4ddf1b0b5eaf4fe5cc0c3d18fc660 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) {