Fixed: Esc key propagation stopped by implied return
https://github.com/harvesthq/chosen/issues/390
This commit is contained in:
parent
880a30dcb4
commit
a316ca88d6
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue