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:
-rw-r--r--docs/assets/js/ie10-viewport-bug-workaround.js2
-rw-r--r--docs/getting-started/browsers-devices.md2
2 files changed, 2 insertions, 2 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)
}
})();
diff --git a/docs/getting-started/browsers-devices.md b/docs/getting-started/browsers-devices.md
index ef66ac9a12..2cfaf7301b 100644
--- a/docs/getting-started/browsers-devices.md
+++ b/docs/getting-started/browsers-devices.md
@@ -181,7 +181,7 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
'@-ms-viewport{width:auto!important}'
)
)
- document.querySelector('head').appendChild(msViewportStyle)
+ document.head.appendChild(msViewportStyle)
}
{% endhighlight %}