File indexing completed on 2024-05-19 05:59:02

0001 /*!
0002  * IE10 viewport hack for Surface/desktop Windows 8 bug
0003  * Copyright 2014 Twitter, Inc.
0004  * Licensed under the Creative Commons Attribution 3.0 Unported License. For
0005  * details, see http://creativecommons.org/licenses/by/3.0/.
0006  */
0007 
0008 // See the Getting Started docs for more information:
0009 // http://getbootstrap.com/getting-started/#support-ie10-width
0010 
0011 (function () {
0012   'use strict';
0013   if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
0014     var msViewportStyle = document.createElement('style')
0015     msViewportStyle.appendChild(
0016       document.createTextNode(
0017         '@-ms-viewport{width:auto!important}'
0018       )
0019     )
0020     document.querySelector('head').appendChild(msViewportStyle)
0021   }
0022 })();