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
ad86d9a5
Commit
ad86d9a5
authored
11 years ago
by
Valera Rozuvan
Browse files
Options
Download
Email Patches
Plain Diff
Update dropdown.js
parent
6b547b35
1 merge request
!11521
fix grammar in comment in dropdown.js
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/dropdown.js
+1
-1
js/dropdown.js
with
1 addition
and
1 deletion
+1
-1
js/dropdown.js
+
1
-
1
View file @
ad86d9a5
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
if
(
!
isActive
)
{
if
(
!
isActive
)
{
if
(
'
ontouchstart
'
in
document
.
documentElement
&&
!
$parent
.
closest
(
'
.navbar-nav
'
).
length
)
{
if
(
'
ontouchstart
'
in
document
.
documentElement
&&
!
$parent
.
closest
(
'
.navbar-nav
'
).
length
)
{
// if mobile we
we
use a backdrop because click events don't delegate
// if mobile we use a backdrop because click events don't delegate
$
(
'
<div class="dropdown-backdrop"/>
'
).
insertAfter
(
$
(
this
)).
on
(
'
click
'
,
clearMenus
)
$
(
'
<div class="dropdown-backdrop"/>
'
).
insertAfter
(
$
(
this
)).
on
(
'
click
'
,
clearMenus
)
}
}
...
...
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