Mark the edit form, new comment form, and unvote links as hidden in html, instead of showing them by default then hiding them later in Javascript. This eliminates flickering on page load.
14 lines
265 B
Plaintext
14 lines
265 B
Plaintext
<div id="c-comments">
|
|
<div id="a-edit">
|
|
<h1>Edit Comment</h1>
|
|
|
|
<%= render "comments/form", comment: @comment %>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "secondary_links" %>
|
|
|
|
<% content_for(:page_title) do %>
|
|
Edit Comment - <%= Danbooru.config.app_name %>
|
|
<% end %>
|