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