final/app/views/comments/edit.js.haml

3 lines
133 B
Plaintext
Raw Normal View History

2015-12-21 16:22:17 +08:00
:plain
$("#comment_form").html("#{escape_javascript(render partial: 'articles/comment_form')}");
location.hash = "#comment_form";