From a53cf55be2ed9fd823053c8320dc106272baf2a9 Mon Sep 17 00:00:00 2001 From: Gregory HOULLIER Date: Sun, 5 Jan 2014 20:15:48 +0100 Subject: Replace getElementsByTag by querySelector for IE10 Mobile plateform. --- docs/getting-started.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/getting-started.html') diff --git a/docs/getting-started.html b/docs/getting-started.html index a09b78f6a..1085d45ab 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -852,7 +852,7 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) { "@-ms-viewport{width:auto!important}" ) ) - document.getElementsByTagName("head")[0].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