Sha256: 38ca9e10ff77f775829bd2c2f9b1172a2d7ca9e69d1cceb5fa6a7e4afdf94905

Contents?: true

Size: 405 Bytes

Versions: 3

Compression:

Stored size: 405 Bytes

Contents

$("#commontator-thread-<%= @commontator_thread.id %>-new-comment").html("<%= escape_javascript(
  render partial: 'form', locals: { comment: @comment, thread: @commontator_thread }
) %>").fadeIn()[0].scrollIntoView();

$("#commontator-thread-<%= @commontator_thread.id %>-new-comment-link").hide();

$('#commontator-thread-<%= @commontator_thread.id %>-new-comment-body').focus();

<%= javascript_proc %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
commontator-6.0.1 app/views/commontator/comments/new.js.erb
commontator-6.0.0 app/views/commontator/comments/new.js.erb
commontator-6.0.0.pre.2 app/views/commontator/comments/new.js.erb