jnaqsh/nerdnews

View on GitHub
app/views/comments/new.js.erb

Summary

Maintainability
Test Coverage
$('.nested_comments .comment-form').remove()
$('#comment_<%= params[:parent_id] %>').next('.nested_comments').prepend('<%= j render 'form' %>')