mirror of https://github.com/twbs/bootstrap.git
Allows escape to bubble when menu isn't shown
This commit is contained in:
parent
70fecd1115
commit
3a6f58598c
|
@ -178,6 +178,7 @@
|
|||
break
|
||||
|
||||
case 27: // escape
|
||||
if (!this.shown) return
|
||||
this.hide()
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue