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
43765403
Commit
43765403
authored
12 years ago
by
fat
Browse files
Options
Download
Email Patches
Plain Diff
focus on escape in typeahead
parent
10e72e15
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
docs/assets/js/bootstrap-dropdown.js
+2
-1
docs/assets/js/bootstrap-dropdown.js
docs/assets/js/bootstrap-typeahead.js
+1
-1
docs/assets/js/bootstrap-typeahead.js
docs/assets/js/bootstrap.js
+3
-2
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.min.js
+1
-1
docs/assets/js/bootstrap.min.js
js/bootstrap-dropdown.js
+2
-1
js/bootstrap-dropdown.js
with
9 additions
and
6 deletions
+9
-6
docs/assets/js/bootstrap-dropdown.js
+
2
-
1
View file @
43765403
...
...
@@ -53,9 +53,10 @@
if
(
!
isActive
)
{
$parent
.
toggleClass
(
'
open
'
)
$this
.
focus
()
}
$this
.
focus
()
return
false
}
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap-typeahead.js
+
1
-
1
View file @
43765403
...
...
@@ -217,7 +217,7 @@
}
,
keydown
:
function
(
e
)
{
this
.
suppressKeyPressRepeat
=
!
~
$
.
inArray
(
e
.
keyCode
,
[
40
,
38
,
9
,
13
,
27
])
this
.
suppressKeyPressRepeat
=
~
$
.
inArray
(
e
.
keyCode
,
[
40
,
38
,
9
,
13
,
27
])
this
.
move
(
e
)
}
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.js
+
3
-
2
View file @
43765403
...
...
@@ -664,9 +664,10 @@
if
(
!
isActive
)
{
$parent
.
toggleClass
(
'
open
'
)
$this
.
focus
()
}
$this
.
focus
()
return
false
}
...
...
@@ -1935,7 +1936,7 @@
}
,
keydown
:
function
(
e
)
{
this
.
suppressKeyPressRepeat
=
!
~
$
.
inArray
(
e
.
keyCode
,
[
40
,
38
,
9
,
13
,
27
])
this
.
suppressKeyPressRepeat
=
~
$
.
inArray
(
e
.
keyCode
,
[
40
,
38
,
9
,
13
,
27
])
this
.
move
(
e
)
}
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.min.js
+
1
-
1
View file @
43765403
This diff is collapsed.
Click to expand it.
js/bootstrap-dropdown.js
+
2
-
1
View file @
43765403
...
...
@@ -53,9 +53,10 @@
if
(
!
isActive
)
{
$parent
.
toggleClass
(
'
open
'
)
$this
.
focus
()
}
$this
.
focus
()
return
false
}
...
...
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