Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
c111c291
Commit
c111c291
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
Relicense ie10-viewport-bug-workaround.js under MIT License
Fixes
#16470
Closes #16483
parent
a4c09f6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/_includes/getting-started/browser-device-support.html
+2
-0
docs/_includes/getting-started/browser-device-support.html
docs/assets/js/ie10-viewport-bug-workaround.js
+1
-2
docs/assets/js/ie10-viewport-bug-workaround.js
with
3 additions
and
2 deletions
+3
-2
docs/_includes/getting-started/browser-device-support.html
+
2
-
0
View file @
c111c291
...
@@ -133,6 +133,8 @@
...
@@ -133,6 +133,8 @@
{% endhighlight %}
{% endhighlight %}
{% highlight js %}
{% highlight js %}
// Copyright 2014-2015 Twitter, Inc.
// Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
var msViewportStyle = document.createElement('style')
var msViewportStyle = document.createElement('style')
msViewportStyle.appendChild(
msViewportStyle.appendChild(
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/ie10-viewport-bug-workaround.js
+
1
-
2
View file @
c111c291
/*!
/*!
* IE10 viewport hack for Surface/desktop Windows 8 bug
* IE10 viewport hack for Surface/desktop Windows 8 bug
* Copyright 2014-2015 Twitter, Inc.
* Copyright 2014-2015 Twitter, Inc.
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
*/
// See the Getting Started docs for more information:
// See the Getting Started docs for more information:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment