Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
22e01efc
Commit
22e01efc
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Plain Diff
Merge pull request #18095 from twbs/document.head
Trivially simplify IE10 Mobile viewport bug workaround
parents
53dddc6e
ee34e924
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/js/ie10-viewport-bug-workaround.js
+1
-1
docs/assets/js/ie10-viewport-bug-workaround.js
docs/getting-started/browsers-devices.md
+1
-1
docs/getting-started/browsers-devices.md
with
2 additions
and
2 deletions
+2
-2
docs/assets/js/ie10-viewport-bug-workaround.js
+
1
-
1
View file @
22e01efc
...
...
@@ -17,7 +17,7 @@
'
@-ms-viewport{width:auto!important}
'
)
)
document
.
querySelector
(
'
head
'
)
.
appendChild
(
msViewportStyle
)
document
.
head
.
appendChild
(
msViewportStyle
)
}
})();
This diff is collapsed.
Click to expand it.
docs/getting-started/browsers-devices.md
+
1
-
1
View file @
22e01efc
...
...
@@ -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 %}
...
...
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
Menu
Explore
Projects
Groups
Snippets