Last change
on this file since 307a8cc was
747e744,
checked in by Antonio Araujo <aaraujo@…>, 7 years ago
|
Creado directorio prototipo con fuentes de la modificación del portal para establecer la ubicación de la firma visible
|
-
Property mode set to
100644
|
File size:
641 bytes
|
Rev | Line | |
---|
[747e744] | 1 | /*! |
---|
| 2 | * IE10 viewport hack for Surface/desktop Windows 8 bug |
---|
| 3 | * Copyright 2014-2015 Twitter, Inc. |
---|
| 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) |
---|
| 5 | */ |
---|
| 6 | |
---|
| 7 | // See the Getting Started docs for more information: |
---|
| 8 | // http://getbootstrap.com/getting-started/#support-ie10-width |
---|
| 9 | |
---|
| 10 | (function () { |
---|
| 11 | 'use strict'; |
---|
| 12 | |
---|
| 13 | if (navigator.userAgent.match(/IEMobile\/10\.0/)) { |
---|
| 14 | var msViewportStyle = document.createElement('style') |
---|
| 15 | msViewportStyle.appendChild( |
---|
| 16 | document.createTextNode( |
---|
| 17 | '@-ms-viewport{width:auto!important}' |
---|
| 18 | ) |
---|
| 19 | ) |
---|
| 20 | document.querySelector('head').appendChild(msViewportStyle) |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | })(); |
---|
Note: See
TracBrowser
for help on using the repository browser.