fix shadow leak

pull/136/head
Aevann 2023-02-27 21:10:53 +02:00
parent 1769c762b0
commit 71ce22b026
1 changed files with 6 additions and 1 deletions

View File

@ -13,6 +13,8 @@
{% macro single_comment(c, level=1, collapse=False) %}
{% if user_can_see(v, c) %}
{% set ups=c.upvotes %}
{% set downs=c.downvotes %}
{% set score=ups-downs %}
@ -706,9 +708,12 @@
{% endif %}
</div>
{% endif %}
{% endif %}
{% endmacro %}
{% for comment in comments if user_can_see(v, comment) %}
{% for comment in comments %}
{{single_comment(comment)}}
{% endfor %}