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:
authorfat <jacobthornton@gmail.com>2012-12-08 03:37:32 +0400
committerfat <jacobthornton@gmail.com>2012-12-08 03:37:32 +0400
commit437654030aa283b92a260245b54fa17a417c20d8 (patch)
tree9be8202461514bd0ee9ce15f958dd63436afa3a5 /js
parent10e72e158d5d85b1373375a5230fe2b9865c8bba (diff)
focus on escape in typeahead
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-dropdown.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/bootstrap-dropdown.js b/js/bootstrap-dropdown.js
index 726fbac1f3..900355d5bd 100644
--- a/js/bootstrap-dropdown.js
+++ b/js/bootstrap-dropdown.js
@@ -53,9 +53,10 @@
if (!isActive) {
$parent.toggleClass('open')
- $this.focus()
}
+ $this.focus()
+
return false
}