diff --git a/src/web/app/boot.js b/src/web/app/boot.js index 28540e4b6..ac6c18d64 100644 --- a/src/web/app/boot.js +++ b/src/web/app/boot.js @@ -45,13 +45,12 @@ if (isMobile) { const meta = document.createElement('meta'); meta.setAttribute('name', 'viewport'); - meta.setAttribute('content', Object.entries({ - 'width': 'device-width', - 'initial-scale': '1', - 'minimum-scale': '1', - 'maximum-scale': '1', - 'user-scalable': 'no' - }).map(x => x.join('=')).join(',')); + meta.setAttribute('content', + 'width=device-width,' + + 'initial-scale=1,' + + 'minimum-scale=1,' + + 'maximum-scale=1,' + + 'user-scalable=no'); head.appendChild(meta); }