fix
This commit is contained in:
parent
9966f6d10a
commit
07c0a7e756
2 changed files with 5 additions and 5 deletions
|
@ -9,9 +9,9 @@ function collapse_comment(comment_id) {
|
||||||
const closed = element.classList.toggle("collapsed")
|
const closed = element.classList.toggle("collapsed")
|
||||||
const top = element.getBoundingClientRect().y
|
const top = element.getBoundingClientRect().y
|
||||||
|
|
||||||
const text = document.getElementById('comment-text-'+comment_id)
|
const text = document.getElementById(`comment-text-${comment_id}`)
|
||||||
const actions = document.getElementById('comment-actions-'+comment_id)
|
const actions = document.getElementById(`comment-${comment_id}-actions`)
|
||||||
const repliesOf = document.getElementById('replies-of-'+comment_id)
|
const repliesOf = document.getElementById(`replies-of-${comment_id}`)
|
||||||
|
|
||||||
const arr = [text, actions, repliesOf];
|
const arr = [text, actions, repliesOf];
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script defer src="/assets/js/popover.js?v=16"></script>
|
<script defer src="/assets/js/popover.js?v=16"></script>
|
||||||
<script defer src="/assets/js/comments.js?v=6"></script>
|
<script defer src="/assets/js/comments.js?v=7"></script>
|
||||||
|
|
||||||
{% include "expanded_image_modal.html" %}
|
{% include "expanded_image_modal.html" %}
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% elif "notifications" in request.path %}
|
{% elif "notifications" in request.path %}
|
||||||
<div id="replies-of-{{c.id}}" class="hidden d-md-block">
|
<div id="replies-of-{{c.id}}" class="hidden md:block">
|
||||||
{% set standalone=False %}
|
{% set standalone=False %}
|
||||||
{% for reply in replies %}
|
{% for reply in replies %}
|
||||||
{{single_comment(reply, level=level+1)}}
|
{{single_comment(reply, level=level+1)}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue