Skip to content
GitLab
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
d754e656
Commit
d754e656
authored
11 years ago
by
fat
Browse files
Options
Download
Email Patches
Plain Diff
add some crap
parent
8b531409
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
javascript.html
+5
-5
javascript.html
js/dropdown.js
+1
-1
js/dropdown.js
with
6 additions
and
6 deletions
+6
-6
javascript.html
+
5
-
5
View file @
d754e656
...
...
@@ -543,10 +543,10 @@ $('#myDropdown').on('show.bs.dropdown', function () {
<li
class=
"dropdown"
>
<a
href=
"#"
id=
"navbarDrop1"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Dropdown
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"navbarDrop1"
>
<li><a
href=
"#one"
>
one
</a></li>
<li><a
href=
"#two"
>
two
</a></li>
<li><a
href=
"#one"
tabindex=
"-1"
>
one
</a></li>
<li><a
href=
"#two"
tabindex=
"-1"
>
two
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"#three"
>
three
</a></li>
<li><a
href=
"#three"
tabindex=
"-1"
>
three
</a></li>
</ul>
</li>
</ul>
...
...
@@ -665,8 +665,8 @@ $('#myScrollspy').on('activate.bs.scrollspy', function () {
<li
class=
"dropdown"
>
<a
href=
"#"
id=
"myTabDrop1"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Dropdown
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
role=
"menu"
aria-labelledby=
"myTabDrop1"
>
<li><a
href=
"#dropdown1"
data-toggle=
"tab"
>
@fat
</a></li>
<li><a
href=
"#dropdown2"
data-toggle=
"tab"
>
@mdo
</a></li>
<li><a
href=
"#dropdown1"
tabindex=
"-1"
data-toggle=
"tab"
>
@fat
</a></li>
<li><a
href=
"#dropdown2"
tabindex=
"-1"
data-toggle=
"tab"
>
@mdo
</a></li>
</ul>
</li>
</ul>
...
...
This diff is collapsed.
Click to expand it.
js/dropdown.js
+
1
-
1
View file @
d754e656
...
...
@@ -60,7 +60,7 @@
}
Dropdown
.
prototype
.
keydown
=
function
(
e
)
{
if
(
!
/
(
9|
38|40|27
)
/
.
test
(
e
.
keyCode
))
return
if
(
!
/
(
38|40|27
)
/
.
test
(
e
.
keyCode
))
return
var
$this
=
$
(
this
)
...
...
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