2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Comply to the new JSCS rules.

This commit is contained in:
XhmikosR
2015-04-29 12:11:58 +03:00
parent 93785be2c6
commit 49c4556354
5 changed files with 56 additions and 50 deletions
@@ -1,6 +1,6 @@
/*!
* IE10 viewport hack for Surface/desktop Windows 8 bug
* Copyright 2014 Twitter, Inc.
* Copyright 2014-2015 Twitter, Inc.
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
@@ -10,6 +10,7 @@
(function () {
'use strict';
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
var msViewportStyle = document.createElement('style')
msViewportStyle.appendChild(
@@ -19,4 +20,5 @@
)
document.querySelector('head').appendChild(msViewportStyle)
}
})();