Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-10-18 10:39:41 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-10-18 10:39:41 +0400
commitba2a99e7c440e6dd88bcb33501a7ba790ceec445 (patch)
tree809817945c2babc41853836c9d048135894d5b29 /js
parent45046544a671b5bb27f1631c9a1bef453b3ca325 (diff)
don't lookup typeahead when shift alt or ctrl are pushed
Diffstat (limited to '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 dc0c7fa07a..04396411a7 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