whitespace control where needed

This commit is contained in:
justcool393 2023-07-22 14:16:11 -05:00
parent 24e664aae4
commit c54acf109b
2 changed files with 5 additions and 5 deletions

View file

@ -208,9 +208,9 @@
lastCount = comments['{{p.id}}'] lastCount = comments['{{p.id}}']
var commentsToCheck = [ var commentsToCheck = [
{% for c in p.comments -%} {% for c in p.comments -%}
{% if not (v and v.id==c.author_id) and not c.voted %} {%- if not (v and v.id==c.author_id) and not c.voted %}
[{{c.id}}, {{c.created_utc * 1000}}], [{{c.id}}, {{c.created_utc * 1000}}],
{% endif %} {%- endif -%}
{% endfor %} {% endfor %}
]; ];
@ -253,9 +253,9 @@
var commentsToCheck = [ var commentsToCheck = [
{% for c in p.comments -%} {% for c in p.comments -%}
{% if not (v and v.id==c.author_id) and not c.voted %} {%- if not (v and v.id==c.author_id) and not c.voted %}
[{{c.id}}, {{c.created_utc * 1000}}], [{{c.id}}, {{c.created_utc * 1000}}],
{% endif %} {%- endif -%}
{% endfor %} {% endfor %}
]; ];

View file

@ -494,7 +494,7 @@
{% for c in p.comments -%} {% for c in p.comments -%}
{% if not (v and v.id==c.author_id) and not c.voted %} {% if not (v and v.id==c.author_id) and not c.voted %}
[{{c.id}}, {{c.created_utc * 1000}}], [{{c.id}}, {{c.created_utc * 1000}}],
{% endif %} {%- endif -%}
{% endfor %} {% endfor %}
]; ];