Skip to content

Commit 0095c5a

Browse files
committed
highlight up btn when user up the reply
1 parent 9ee6ecf commit 0095c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/reply/reply.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class='user_action'>
1818
<span>
1919
<i class="fa up_btn
20-
<%= (typeof current_user !== 'undefined' && isUped(current_user, reply)) ? 'fa-thumbs-up' : 'fa-thumbs-o-up' %>
20+
<%= (typeof current_user !== 'undefined' && isUped(current_user, reply)) ? 'fa-thumbs-up uped' : 'fa-thumbs-o-up' %>
2121
<%= (!reply.ups || !reply.ups.length) ? 'invisible' : '' %>" title="喜欢"></i>
2222
<span class="up-count">
2323
<%= reply.ups && reply.ups.length ? reply.ups.length : '' %>

0 commit comments

Comments
 (0)