Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
c0eabdda
Commit
c0eabdda
authored
Aug 17, 2013
by
fat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #9543
parent
d754e656
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
dist/js/bootstrap.js
dist/js/bootstrap.js
+1
-1
dist/js/bootstrap.min.js
dist/js/bootstrap.min.js
+1
-1
js/dropdown.js
js/dropdown.js
+1
-1
No files found.
dist/js/bootstrap.js
View file @
c0eabdda
...
...
@@ -711,7 +711,7 @@ if (!jQuery) { throw new Error("Bootstrap requires jQuery") }
clearMenus
()
if
(
!
isActive
)
{
if
(
'
ontouchstart
'
in
document
.
documentElement
)
{
if
(
'
ontouchstart
'
in
document
.
documentElement
&&
!
$parent
.
closest
(
'
.navbar-nav
'
).
length
)
{
// if mobile we we use a backdrop because click events don't delegate
$
(
'
<div class="dropdown-backdrop"/>
'
).
insertAfter
(
$
(
this
)).
on
(
'
click
'
,
clearMenus
)
}
...
...
dist/js/bootstrap.min.js
View file @
c0eabdda
This diff is collapsed.
Click to expand it.
js/dropdown.js
View file @
c0eabdda
...
...
@@ -40,7 +40,7 @@
clearMenus
()
if
(
!
isActive
)
{
if
(
'
ontouchstart
'
in
document
.
documentElement
)
{
if
(
'
ontouchstart
'
in
document
.
documentElement
&&
!
$parent
.
closest
(
'
.navbar-nav
'
).
length
)
{
// if mobile we we use a backdrop because click events don't delegate
$
(
'
<div class="dropdown-backdrop"/>
'
).
insertAfter
(
$
(
this
)).
on
(
'
click
'
,
clearMenus
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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