$(".comment-not-signalled.number-<%= @comment.id %>").removeClass().addClass('comment-signalled').html(I18n.t('comment.signalled.already_signalled', { locale: gon.language }));

NProgress.done();
<%= render 'elements/alert' %>
<%= render 'elements/scroll_to' %>
$(".comment-not-signalled.number-<%= @comment.id %>").removeClass().addClass('comment-signalled').html(I18n.t('comment.signalled.already_signalled', { locale: gon.language }));

NProgress.done();
<%= render 'elements/alert' %>

Remove scroll to top after signalling a comment
Remove scroll to top after signalling a comment
