diff --git a/coffee/chosen.jquery.coffee b/coffee/chosen.jquery.coffee index 562abee33eb..7caffe1304d 100644 --- a/coffee/chosen.jquery.coffee +++ b/coffee/chosen.jquery.coffee @@ -40,7 +40,7 @@ class Chosen extends AbstractChosen if @is_multiple @container.html '
' else - @container.html '' + @default_text + '
' + @container.html '' + @default_text + '
' @form_field_jq.hide().after @container @dropdown = @container.find('div.chzn-drop').first() diff --git a/coffee/chosen.proto.coffee b/coffee/chosen.proto.coffee index 19a58f8ac00..78b914827c5 100644 --- a/coffee/chosen.proto.coffee +++ b/coffee/chosen.proto.coffee @@ -13,7 +13,7 @@ class Chosen extends AbstractChosen super() # HTML Templates - @single_temp = new Template('#{default}
') + @single_temp = new Template('#{default}
') @multi_temp = new Template('
') @no_results_temp = new Template('
  • ' + @results_none_found + ' "#{terms}"
  • ')