diff options
| author | Chris Rebert <[email protected]> | 2014-01-18 18:35:47 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-01-18 18:35:47 -0800 |
| commit | b67cba2b4d1fe2b7a9685bb5c80eb77ee64e6ab1 (patch) | |
| tree | e043fba474ed4f0f7870f65e11a72eda445daacd /docs/getting-started.html | |
| parent | 20772462df9c44a838c87c2e1b2dc89b9059e9e4 (diff) | |
| download | bootstrap-b67cba2b4d1fe2b7a9685bb5c80eb77ee64e6ab1.tar.xz bootstrap-b67cba2b4d1fe2b7a9685bb5c80eb77ee64e6ab1.zip | |
make WP8 device-width hack code fully consistent between docs HTML & docs JS
Diffstat (limited to 'docs/getting-started.html')
| -rw-r--r-- | docs/getting-started.html | 6 |
1 files changed, 3 insertions, 3 deletions
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> |
