mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
Allows escape to bubble when menu isn't shown
This commit is contained in:
committed by
Pete Hopkins
parent
70fecd1115
commit
3a6f58598c
1
js/bootstrap-typeahead.js
vendored
1
js/bootstrap-typeahead.js
vendored
@@ -178,6 +178,7 @@
|
||||
break
|
||||
|
||||
case 27: // escape
|
||||
if (!this.shown) return
|
||||
this.hide()
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user