Skip to content

Commit

Permalink
don't lookup typeahead when shift alt or ctrl are pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
fat committed Oct 18, 2012
1 parent 4504654 commit ba2a99e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/assets/js/bootstrap-typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions docs/assets/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit ba2a99e

Please sign in to comment.