posts: change #image-container, #note-container to classes.
Change #image-container and #note-container from IDs to classes. This is necessary so that we can use one container element for both the image container and the note container. This may break custom CSS and userscripts.
This commit is contained in:
@@ -50,8 +50,8 @@
|
||||
|
||||
<%= render "posts/partials/show/notices", :post => @post %>
|
||||
|
||||
<%= content_tag(:section, { id: "image-container" }.merge(PostPresenter.data_attributes(@post))) do -%>
|
||||
<div id="note-container"></div>
|
||||
<%= content_tag(:section, { class: "image-container" }.merge(PostPresenter.data_attributes(@post))) do -%>
|
||||
<div class="note-container"></div>
|
||||
<div id="note-preview"></div>
|
||||
<%= render "posts/partials/show/embedded", post: @post %>
|
||||
<% end -%>
|
||||
|
||||
Reference in New Issue
Block a user