Commit 22e01efc authored by Chris Rebert's avatar Chris Rebert
Browse files

Merge pull request #18095 from twbs/document.head

Trivially simplify IE10 Mobile viewport bug workaround
parents 53dddc6e ee34e924
Showing with 2 additions and 2 deletions
+2 -2
......@@ -17,7 +17,7 @@
'@-ms-viewport{width:auto!important}'
)
)
document.querySelector('head').appendChild(msViewportStyle)
document.head.appendChild(msViewportStyle)
}
})();
......@@ -181,7 +181,7 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
'@-ms-viewport{width:auto!important}'
)
)
document.querySelector('head').appendChild(msViewportStyle)
document.head.appendChild(msViewportStyle)
}
{% endhighlight %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment