aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-typeahead.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-10-17 23:39:41 -0700
committerJacob Thornton <[email protected]>2012-10-17 23:39:41 -0700
commitba2a99e7c440e6dd88bcb33501a7ba790ceec445 (patch)
tree809817945c2babc41853836c9d048135894d5b29 /js/bootstrap-typeahead.js
parent45046544a671b5bb27f1631c9a1bef453b3ca325 (diff)
downloadbootstrap-ba2a99e7c440e6dd88bcb33501a7ba790ceec445.tar.xz
bootstrap-ba2a99e7c440e6dd88bcb33501a7ba790ceec445.zip
don't lookup typeahead when shift alt or ctrl are pushed
Diffstat (limited to 'js/bootstrap-typeahead.js')
-rw-r--r--js/bootstrap-typeahead.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js
index dc0c7fa07..04396411a 100644
--- a/js/bootstrap-typeahead.js
+++ b/js/bootstrap-typeahead.js
@@ -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