Browse Source

Fix article comment show error

pull/6/head
Menci 6 years ago
parent
commit
d8d7f0a46c
  1. 2
      views/article.ejs

2
views/article.ejs

@ -63,7 +63,7 @@
<div class="metadata"> <div class="metadata">
<span class="date"><%= syzoj.utils.formatDate(comment.public_time) %></span> <span class="date"><%= syzoj.utils.formatDate(comment.public_time) %></span>
</div> </div>
<div class="text font-content"><%- comment.content %></div> <div class="text font-content" style="min-height: 19.5px; "><%- comment.content %></div>
<% if (comment.allowedEdit) { %> <% if (comment.allowedEdit) { %>
<div class="actions"><a onclick="$('#modal-delete-<%= comment.id %>').modal('show')">删除</a></div> <div class="actions"><a onclick="$('#modal-delete-<%= comment.id %>').modal('show')">删除</a></div>
<div class="ui basic modal" id="modal-delete-<%= comment.id %>"> <div class="ui basic modal" id="modal-delete-<%= comment.id %>">

Loading…
Cancel
Save