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
66b70016
Commit
66b70016
authored
12 years ago
by
fat
Browse files
Options
Download
Email Patches
Plain Diff
rebuild and only select visible dropdown items
parent
2526c3fd
No related merge requests found
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
docs/assets/js/bootstrap-dropdown.js
+1
-1
docs/assets/js/bootstrap-dropdown.js
docs/assets/js/bootstrap-scrollspy.js
+1
-1
docs/assets/js/bootstrap-scrollspy.js
docs/assets/js/bootstrap.js
+2
-2
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.min.js
+1
-1
docs/assets/js/bootstrap.min.js
js/bootstrap-dropdown.js
+1
-1
js/bootstrap-dropdown.js
with
6 additions
and
6 deletions
+6
-6
docs/assets/js/bootstrap-dropdown.js
+
1
-
1
View file @
66b70016
...
...
@@ -82,7 +82,7 @@
if
(
!
isActive
||
(
isActive
&&
e
.
keyCode
==
27
))
return
$this
.
click
()
$items
=
$
(
'
[role=menu] li:not(.divider) a
'
,
$parent
)
$items
=
$
(
'
[role=menu] li:not(.divider)
:visible
a
'
,
$parent
)
if
(
!
$items
.
length
)
return
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap-scrollspy.js
+
1
-
1
View file @
66b70016
...
...
@@ -59,7 +59,7 @@
,
$href
=
/^#
\w
/
.
test
(
href
)
&&
$
(
href
)
return
(
$href
&&
$href
.
length
&&
[[
$href
.
position
().
top
,
href
]]
)
||
null
&&
[[
$href
.
position
().
top
+
self
.
$scrollElement
.
scrollTop
()
,
href
]]
)
||
null
})
.
sort
(
function
(
a
,
b
)
{
return
a
[
0
]
-
b
[
0
]
})
.
each
(
function
()
{
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.js
+
2
-
2
View file @
66b70016
...
...
@@ -694,7 +694,7 @@
if
(
!
isActive
||
(
isActive
&&
e
.
keyCode
==
27
))
return
$this
.
click
()
$items
=
$
(
'
[role=menu] li:not(.divider) a
'
,
$parent
)
$items
=
$
(
'
[role=menu] li:not(.divider)
:visible
a
'
,
$parent
)
if
(
!
$items
.
length
)
return
...
...
@@ -1474,7 +1474,7 @@
,
$href
=
/^#
\w
/
.
test
(
href
)
&&
$
(
href
)
return
(
$href
&&
$href
.
length
&&
[[
$href
.
position
().
top
,
href
]]
)
||
null
&&
[[
$href
.
position
().
top
+
self
.
$scrollElement
.
scrollTop
()
,
href
]]
)
||
null
})
.
sort
(
function
(
a
,
b
)
{
return
a
[
0
]
-
b
[
0
]
})
.
each
(
function
()
{
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.min.js
+
1
-
1
View file @
66b70016
This diff is collapsed.
Click to expand it.
js/bootstrap-dropdown.js
+
1
-
1
View file @
66b70016
...
...
@@ -82,7 +82,7 @@
if
(
!
isActive
||
(
isActive
&&
e
.
keyCode
==
27
))
return
$this
.
click
()
$items
=
$
(
'
[role=menu] li:not(.divider) a
'
,
$parent
)
$items
=
$
(
'
[role=menu] li:not(.divider)
:visible
a
'
,
$parent
)
if
(
!
$items
.
length
)
return
...
...
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