Fixed: Esc key propagation stopped by implied return

https://github.com/harvesthq/chosen/issues/390
master
Mike Frey 2011-12-09 16:39:35 -06:00
parent 880a30dcb4
commit a316ca88d6
1 changed files with 1 additions and 0 deletions

View File

@ -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()