Permalink
Browse files

锚点失效问题

  • Loading branch information...
1 parent 1ddbcbc commit e7d329aab90ed2a6038e68b65279fc9e1b4e4b61 @alsotang alsotang committed Dec 27, 2016
Showing with 1 addition and 3 deletions.
  1. +1 −3 views/reply/reply.html
@@ -1,8 +1,6 @@
<div class='cell reply_area reply_item
<%- reply.ups && reply.ups.length >= topic.reply_up_threshold ? 'reply_highlight' : '' %>'
- id="reply<%= indexInCollection+1 %>" reply_id="<%= reply._id %>" reply_to_id="<%= reply.reply_id || '' %>">
- <a class="anchor" id="<%= reply._id %>"></a>
-
+ reply_id="<%= reply._id %>" reply_to_id="<%= reply.reply_id || '' %>" id="<%= reply._id %>">
<div class='author_content'>
<a href="/user/<%= reply.author.loginname %>" class="user_avatar">
<img src="<%= proxy(reply.author.avatar_url) %>" title="<%= reply.author.loginname %>"/></a>

0 comments on commit e7d329a

Please sign in to comment.