From ee34e924ddef0696f41445b4631b811edbececac Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 28 Oct 2015 15:07:48 -0700 Subject: 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] --- docs/assets/js/ie10-viewport-bug-workaround.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/assets') diff --git a/docs/assets/js/ie10-viewport-bug-workaround.js b/docs/assets/js/ie10-viewport-bug-workaround.js index 479a6ebda..162dafb9d 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) } })(); -- cgit v1.2.3