Skip to content

Commit

Permalink
Change search_text to use option.text rather than option.html
Browse files Browse the repository at this point in the history
  • Loading branch information
simonexmachina committed Nov 6, 2013
1 parent 28e550a commit 09d757b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coffee/lib/abstract-chosen.coffee
Expand Up @@ -153,7 +153,7 @@ class AbstractChosen

unless option.group and not @group_search

option.search_text = if option.group then option.label else option.html
option.search_text = if option.group then option.label else option.text
option.search_match = this.search_string_match(option.search_text, regex)
results += 1 if option.search_match and not option.group

Expand Down

0 comments on commit 09d757b

Please sign in to comment.