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) {