Commits

Anonymous committed 4d27202

broken image fixes

Comments (0)

Files changed (1)

newsmeme/templates/user/comments.html

 <div>
 {% if comment.can_vote(g.user) %}
 <span id="vote-comment-{{ comment.id }}">
-    <a href="#" onclick="newsmeme.vote_comment('{{ url_for('comment.upvote',  comment_id=comment.id) }}'); return false;"><img src="{{ url_for('.static', filename="images/up-icon.png") }}"></a>
-    <a href="#" onclick="newsmeme.vote_comment('{{ url_for('comment.downvote', comment_id=comment.id) }}'); return false;"><img src="{{ url_for('.static', filename="images/down-icon.png") }}"></a>  
+    <a href="#" onclick="newsmeme.vote_comment('{{ url_for('comment.upvote',  comment_id=comment.id) }}'); return false;"><img src="{{ theme_static("images/up-icon.png") }}"></a>
+    <a href="#" onclick="newsmeme.vote_comment('{{ url_for('comment.downvote', comment_id=comment.id) }}'); return false;"><img src="{{ theme_static("images/down-icon.png") }}"></a>  
 </span>
 {% endif %}
 {{ _('Score') }} <span id="comment-score-{{ comment.id }}">{{ comment.score }}</span> |