Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jerrett/chosen into jerre…
Browse files Browse the repository at this point in the history
…tt-master
  • Loading branch information
pfiller committed Nov 15, 2011
2 parents 875c800 + 5d0e585 commit 9dd4fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coffee/lib/abstract-chosen.coffee
Expand Up @@ -27,7 +27,7 @@ class AbstractChosen
@results_showing = false
@result_highlighted = null
@result_single_selected = null
@allow_single_deselect = if @options.allow_single_deselect? and @form_field.options[0].text == "" then @options.allow_single_deselect else false
@allow_single_deselect = if @options.allow_single_deselect? and @form_field.options[0] and @form_field.options[0].text == "" then @options.allow_single_deselect else false
@disable_search_threshold = @options.disable_search_threshold || 0
@choices = 0
@results_none_found = @options.no_results_text or "No results match"
Expand Down

0 comments on commit 9dd4fb5

Please sign in to comment.