Skip to content

Commit

Permalink
Remove condition made unnecessary by poorly written CoffeeScript. The…
Browse files Browse the repository at this point in the history
… text of an option was never matching this function, so why leave it there?
  • Loading branch information
pfiller committed Nov 4, 2011
1 parent 948fbcc commit f0a349d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
4 changes: 1 addition & 3 deletions chosen/chosen.jquery.js
Expand Up @@ -724,9 +724,7 @@
} else {
text = option.html;
}
if (result.html !== text) {
result.html(text);
}
result.html(text);
this.result_activate(result);
if (option.group_array_index != null) {
$("#" + this.results_data[option.group_array_index].dom_id).css('display', 'auto');
Expand Down

0 comments on commit f0a349d

Please sign in to comment.