aboutsummaryrefslogtreecommitdiff
path: root/docs/getting-started.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-01-05 11:47:00 -0800
committerChris Rebert <[email protected]>2014-01-05 11:47:00 -0800
commit41257fe794f6c8dbb1a7bf3a33fea3187a1565e9 (patch)
treea045ec80aeb729174db54450be1ab733ec86afa5 /docs/getting-started.html
parent711d0b833770264ab9a532267e84db1c9b951a13 (diff)
parenta53cf55be2ed9fd823053c8320dc106272baf2a9 (diff)
downloadbootstrap-41257fe794f6c8dbb1a7bf3a33fea3187a1565e9.tar.xz
bootstrap-41257fe794f6c8dbb1a7bf3a33fea3187a1565e9.zip
Merge pull request #12104 from ghoullier/master
Replace getElementsByTag with querySelector in IE10 Mobile viewport JS snippet
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 a8b2aecec..eb2fe8512 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>