Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <code@chrisrebert.com>2015-10-29 01:07:48 +0300
committerChris Rebert <code@chrisrebert.com>2015-10-29 01:09:57 +0300
commitee34e924ddef0696f41445b4631b811edbececac (patch)
treef43c7b9b7b58d5110b0b4e21d320356c46afca00 /docs/assets/js
parent364925f9513959b04b3e685f6d59d41a269e93d1 (diff)
IE10 Mobile viewport bug workaround: document.querySelector('head') => document.head
Per http://caniuse.com/#feat=documenthead , document.head is supported in IE Mobile 10+, so slightly simplify the JS accordingly. [skip sauce]
Diffstat (limited to 'docs/assets/js')
-rw-r--r--docs/assets/js/ie10-viewport-bug-workaround.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/ie10-viewport-bug-workaround.js b/docs/assets/js/ie10-viewport-bug-workaround.js
index 479a6ebdae..162dafb9dd 100644
--- a/docs/assets/js/ie10-viewport-bug-workaround.js
+++ b/docs/assets/js/ie10-viewport-bug-workaround.js
@@ -17,7 +17,7 @@
'@-ms-viewport{width:auto!important}'
)
)
- document.querySelector('head').appendChild(msViewportStyle)
+ document.head.appendChild(msViewportStyle)
}
})();