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

    $("#description").html(linkify_html($("#description").html()))
    $(".comment-body").each(-> $(this).html(linkify_html($(this).html())))

$ ->
  $(".vote").popover
    placement: "top"

      $("#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() == ""
