From: Pete Hopkins Date: Tue, 31 Jan 2012 14:23:58 +0000 (-0500) Subject: Allows escape to bubble when menu isn't shown X-Git-Tag: v2.0.2~62^2~2^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2177%2Fhead;p=thirdparty%2Fbootstrap.git Allows escape to bubble when menu isn't shown --- diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js index df1487bf82..99f84f7961 100644 --- a/js/bootstrap-typeahead.js +++ b/js/bootstrap-typeahead.js @@ -178,6 +178,7 @@ break case 27: // escape + if (!this.shown) return this.hide() break