replaces span tag to div on comments votes

This commit is contained in:
Alberto Garcia Cabeza
2016-12-27 16:33:06 +01:00
parent b8f60b48fe
commit 5bf09ec569

View File

@@ -67,9 +67,9 @@
</div>
<div id="<%= dom_id(comment) %>_reply" class="reply">
<span id="<%= dom_id(comment) %>_votes" class="comment-votes float-right">
<div id="<%= dom_id(comment) %>_votes" class="comment-votes float-right">
<%= render 'comments/votes', comment: comment %>
</span>
</div>
<% if comment.children.size > 0 %>
<%= link_to "#{dom_id(comment)}", class: "js-toggle-children relative", data: {'id': "#{dom_id(comment)}"} do %>