diff options
| author | Chris Rebert <[email protected]> | 2014-01-05 11:47:00 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-01-05 11:47:00 -0800 |
| commit | 41257fe794f6c8dbb1a7bf3a33fea3187a1565e9 (patch) | |
| tree | a045ec80aeb729174db54450be1ab733ec86afa5 /docs/getting-started.html | |
| parent | 711d0b833770264ab9a532267e84db1c9b951a13 (diff) | |
| parent | a53cf55be2ed9fd823053c8320dc106272baf2a9 (diff) | |
| download | bootstrap-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.html | 2 |
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> |
