$("#hidden-comments-notice-for-<%= @post.id %>").hide();

$("div.comments-for-post[data-post-id=<%= @post.id %>] div.list-of-comments").html("<%= j(render(:partial => 'comments/partials/show/comment', :collection => @comments))%>");

<% if params[:include_below_threshold] %>
  $("#threshold-comments-notice-for-<%= @post.id %>").hide();
  Danbooru.Comment.highlight_threshold_comments(<%= @post.id %>);
<% else %>
  Danbooru.Comment.hide_threshold_comments(<%= @post.id %>);
<% end %>

Danbooru.Comment.initialize_reply_links();
Danbooru.Comment.initialize_edit_links();
Danbooru.Comment.initialize_vote_links();
