aboutsummaryrefslogtreecommitdiff
path: root/docs/getting-started.html
diff options
context:
space:
mode:
authorGregory HOULLIER <[email protected]>2014-01-05 20:15:48 +0100
committerGregory HOULLIER <[email protected]>2014-01-05 20:15:48 +0100
commita53cf55be2ed9fd823053c8320dc106272baf2a9 (patch)
tree9ecb70a01dd894d1f06b9955295b922ce7838b1a /docs/getting-started.html
parent84c33a822da54a48f0f4751fe519dfc6b324a453 (diff)
downloadbootstrap-a53cf55be2ed9fd823053c8320dc106272baf2a9.tar.xz
bootstrap-a53cf55be2ed9fd823053c8320dc106272baf2a9.zip
Replace getElementsByTag by querySelector for IE10 Mobile plateform.
Diffstat (limited to 'docs/getting-started.html')
-rw-r--r--docs/getting-started.html2
1 files changed, 1 insertions, 1 deletions
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 %}
<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>