diff options
Diffstat (limited to 'core/src/Polyfill/windows-phone.js')
-rw-r--r-- | core/src/Polyfill/windows-phone.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/Polyfill/windows-phone.js b/core/src/Polyfill/windows-phone.js index 3d59074856b..983e412e453 100644 --- a/core/src/Polyfill/windows-phone.js +++ b/core/src/Polyfill/windows-phone.js @@ -20,10 +20,10 @@ */ // fix device width on windows phone -if ("-ms-user-select" in document.documentElement.style && navigator.userAgent.match(/IEMobile\/10\.0/)) { - const msViewportStyle = document.createElement("style"); +if ('-ms-user-select' in document.documentElement.style && navigator.userAgent.match(/IEMobile\/10\.0/)) { + const msViewportStyle = document.createElement('style') msViewportStyle.appendChild( - document.createTextNode("@-ms-viewport{width:auto!important}") - ); - document.getElementsByTagName("head")[0].appendChild(msViewportStyle); + document.createTextNode('@-ms-viewport{width:auto!important}') + ) + document.getElementsByTagName('head')[0].appendChild(msViewportStyle) } |