diff options
| -rw-r--r-- | docs/assets/js/application.js | 7 | ||||
| -rw-r--r-- | docs/getting-started.html | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js index 29c72cd0e..742b83ed8 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/application.js @@ -18,14 +18,13 @@ // // See Getting Started docs for more information if (navigator.userAgent.match(/IEMobile\/10\.0/)) { - var msViewportStyle = document.createElement('style'); + var msViewportStyle = document.createElement('style') msViewportStyle.appendChild( document.createTextNode( '@-ms-viewport{width:auto!important}' ) - ); - document.querySelector('head'). - appendChild(msViewportStyle); + ) + document.querySelector('head').appendChild(msViewportStyle) } diff --git a/docs/getting-started.html b/docs/getting-started.html index 01cb2e3d9..df549d841 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -494,13 +494,13 @@ bootstrap/ {% highlight js %} if (navigator.userAgent.match(/IEMobile\/10\.0/)) { - var msViewportStyle = document.createElement("style") + var msViewportStyle = document.createElement('style') msViewportStyle.appendChild( document.createTextNode( - "@-ms-viewport{width:auto!important}" + '@-ms-viewport{width:auto!important}' ) ) - document.querySelector("head").appendChild(msViewportStyle) + document.querySelector('head').appendChild(msViewportStyle) } {% endhighlight %} <p>For more information and usage guidelines, read <a href="http://timkadlec.com/2013/01/windows-phone-8-and-device-width/">Windows Phone 8 and Device-Width</a>.</p> |
