12 lines
271 B
Plaintext
12 lines
271 B
Plaintext
$("#comments-box").html("<%= j render('comments_box', annotation: @annotation) %>").show();
|
|
|
|
$('a.publish-comment').on({
|
|
click: function(e) {
|
|
e.preventDefault();
|
|
$('a.publish-comment').hide();
|
|
$('#js-comment-form-annotation').toggle();
|
|
return;
|
|
}
|
|
});
|
|
|