0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Allows escape to bubble when menu isn't shown

This commit is contained in:
Pete Hopkins 2012-01-31 09:23:58 -05:00 committed by Pete Hopkins
parent 70fecd1115
commit 3a6f58598c

View File

@ -178,6 +178,7 @@
break break
case 27: // escape case 27: // escape
if (!this.shown) return
this.hide() this.hide()
break break