9 lines
419 B
JavaScript

/*!
* IE10 viewport hack for Surface/desktop Windows 8 bug
* Copyright 2014-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
!function(){"use strict"
if(navigator.userAgent.match(/IEMobile\/10\.0/)){var e=document.createElement("style")
e.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}")),document.querySelector("head").appendChild(e)}}()