mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-20 06:20:23 +00:00
don't lookup typeahead when shift alt or ctrl are pushed
This commit is contained in:
parent
45046544a6
commit
ba2a99e7c4
4 changed files with 10 additions and 1 deletions
3
docs/assets/js/bootstrap-typeahead.js
vendored
3
docs/assets/js/bootstrap-typeahead.js
vendored
|
|
@ -230,6 +230,9 @@
|
|||
switch(e.keyCode) {
|
||||
case 40: // down arrow
|
||||
case 38: // up arrow
|
||||
case 16: // shift
|
||||
case 17: // ctrl
|
||||
case 18: // alt
|
||||
break
|
||||
|
||||
case 9: // tab
|
||||
|
|
|
|||
3
docs/assets/js/bootstrap.js
vendored
3
docs/assets/js/bootstrap.js
vendored
|
|
@ -1839,6 +1839,9 @@
|
|||
switch(e.keyCode) {
|
||||
case 40: // down arrow
|
||||
case 38: // up arrow
|
||||
case 16: // shift
|
||||
case 17: // ctrl
|
||||
case 18: // alt
|
||||
break
|
||||
|
||||
case 9: // tab
|
||||
|
|
|
|||
2
docs/assets/js/bootstrap.min.js
vendored
2
docs/assets/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
3
js/bootstrap-typeahead.js
vendored
3
js/bootstrap-typeahead.js
vendored
|
|
@ -230,6 +230,9 @@
|
|||
switch(e.keyCode) {
|
||||
case 40: // down arrow
|
||||
case 38: // up arrow
|
||||
case 16: // shift
|
||||
case 17: // ctrl
|
||||
case 18: // alt
|
||||
break
|
||||
|
||||
case 9: // tab
|
||||
|
|
|
|||
Loading…
Reference in a new issue