Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coffee/chosen.jquery.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ class Chosen extends AbstractChosen
else
this.show_search_field_default()

this.results_hide() if @is_multiple and this.choices_count() > 0 and this.get_search_field_value().length < 1
this.results_hide() if @is_multiple and this.hide_results_on_select and this.choices_count() > 0 and this.get_search_field_value().length < 1

link.parents('li').first().remove()

Expand Down
2 changes: 1 addition & 1 deletion coffee/chosen.proto.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ class @Chosen extends AbstractChosen
else
this.show_search_field_default()

this.results_hide() if @is_multiple and this.choices_count() > 0 and this.get_search_field_value().length < 1
this.results_hide() if @is_multiple and this.hide_results_on_select and this.choices_count() > 0 and this.get_search_field_value().length < 1

link.up('li').remove()

Expand Down