diff --git a/src/web/app/boot.js b/src/web/app/boot.js index 396935aa19..59af08f8a2 100644 --- a/src/web/app/boot.js +++ b/src/web/app/boot.js @@ -37,7 +37,13 @@ const [head] = document.getElementsByTagName('head'); if (isMobile) { const meta = document.createElement('meta'); meta.setAttribute('name', 'viewport'); - meta.setAttribute('content', 'width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no'); + meta.setAttribute('content', [ + ['width', 'device-width'], + ['initial-scale', '1'], + ['minimum-scale', '1'], + ['maximum-scale', '1'], + ['user-scalable', 'no'] + ].map(x => x.join('=')).join(',')); head.appendChild(meta); }