From 3a6f58598cdad40916426f31564afada6c7b4bdc Mon Sep 17 00:00:00 2001 From: Pete Hopkins Date: Tue, 31 Jan 2012 09:23:58 -0500 Subject: [PATCH] Allows escape to bubble when menu isn't shown --- js/bootstrap-typeahead.js | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.2