dont highlight comments voted on

pull/90/head
Aevann 2023-01-21 06:12:02 +02:00
parent b13ec4f4c7
commit 9c6c894ebd
1 changed files with 1 additions and 1 deletions

View File

@ -762,7 +762,7 @@
{% if p %}
{% set pid = p.id %}
<input hidden id="comms" value="{% for c in p.comments %}{{c.id}}:{{c.created_utc}},{% endfor %}">
<input hidden id="comms" value="{% for c in p.comments %}{% if c.author_id != v.id and not c.voted %}{{c.id}}:{{c.created_utc}},{% endif %}{% endfor %}">
{% endif %}
{% if offset %}