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
566380b2
Commit
566380b2
authored
12 years ago
by
fat-kun
Browse files
Options
Download
Plain Diff
Merge pull request #6488 from nanek/dropdowns-remove-touchstart
Remove touchstart from bootstrap-dropdown.js.
parents
c25e8182
b5ad5068
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/bootstrap-dropdown.js
+6
-6
js/bootstrap-dropdown.js
with
6 additions
and
6 deletions
+6
-6
js/bootstrap-dropdown.js
+
6
-
6
View file @
566380b2
...
...
@@ -156,10 +156,10 @@
* =================================== */
$
(
document
)
.
on
(
'
click.dropdown.data-api
touchstart.dropdown.data-api
'
,
clearMenus
)
.
on
(
'
click.dropdown.data-api
touchstart.dropdown.data-api
'
,
'
.dropdown form
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
touchstart.dropdown.data-api
'
,
'
.dropdown-menu
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
click.dropdown.data-api
touchstart.dropdown.data-api
'
,
toggle
,
Dropdown
.
prototype
.
toggle
)
.
on
(
'
keydown.dropdown.data-api
touchstart.dropdown.data-api
'
,
toggle
+
'
, [role=menu]
'
,
Dropdown
.
prototype
.
keydown
)
.
on
(
'
click.dropdown.data-api
'
,
clearMenus
)
.
on
(
'
click.dropdown.data-api
'
,
'
.dropdown form
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
.dropdown-menu
'
,
function
(
e
)
{
e
.
stopPropagation
()
})
.
on
(
'
click.dropdown.data-api
'
,
toggle
,
Dropdown
.
prototype
.
toggle
)
.
on
(
'
keydown.dropdown.data-api
'
,
toggle
+
'
, [role=menu]
'
,
Dropdown
.
prototype
.
keydown
)
}(
window
.
jQuery
);
\ No newline at end of file
}(
window
.
jQuery
);
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