From a316ca88d680930910e6ed9758f54813dbc89050 Mon Sep 17 00:00:00 2001 From: Mike Frey Date: Fri, 9 Dec 2011 16:39:35 -0600 Subject: [PATCH] Fixed: Esc key propagation stopped by implied return https://github.com/harvesthq/chosen/issues/390 --- coffee/lib/abstract-chosen.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/coffee/lib/abstract-chosen.coffee b/coffee/lib/abstract-chosen.coffee index b9ca331..a7c1b01 100644 --- a/coffee/lib/abstract-chosen.coffee +++ b/coffee/lib/abstract-chosen.coffee @@ -91,6 +91,7 @@ class AbstractChosen this.result_select(evt) if this.results_showing when 27 this.results_hide() if @results_showing + return true when 9, 38, 40, 16, 91, 17 # don't do anything on these keys else this.results_search()