       $('#new_vote').submit()
   )
 
-#** character count for title on discussion:new page **
+# character count for title on discussion:new page
 $ ->
   $(".limit").keyup(() ->
     $(".error-message").hide()

      $("#input_date").datepicker("setDate", date_string)
      $("#date_hour").val(hour)

#** presence validations: use this function any where just assign the class .presence-required
#   to the text field in question and the .check-presence to the submit button **
$ ->
  $(".check-presence").click((event, ui) ->
    if $(".inputError").val() == ""

    $(".error-message").hide()
  )

# Reload hidden close_date field
$ ->
  $("#input_date").change((e) ->
    date = $(this).val()
