From b67cba2b4d1fe2b7a9685bb5c80eb77ee64e6ab1 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 18 Jan 2014 18:35:47 -0800 Subject: make WP8 device-width hack code fully consistent between docs HTML & docs JS --- docs/getting-started.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/getting-started.html') 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 %}

For more information and usage guidelines, read Windows Phone 8 and Device-Width.

-- cgit v1.2.3