This commit is contained in:
kek7198 2021-12-09 18:12:44 -06:00
parent 33ecb67272
commit f3317fcb59
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ function collapse_comment(comment_id) {
const arr = [text, actions, repliesOf, toggler]; const arr = [text, actions, repliesOf, toggler];
arr.map(x => x.classList.toggle('hidden')); // hide comment elements arr.map(x => x.classList.toggle('hidden')); // hide comment elements
['items-center', 'opacity-50'].map(y=> comment.classList.toggle(y)); // apply flex alignment and opacity to comment parent wrapping div ['items-center', 'opacity-50', 'collapsed'].map(y=> comment.classList.toggle(y)); // apply flex alignment and opacity to comment parent wrapping div
if (isClosed && top < 0) { if (isClosed && top < 0) {
comment.scrollIntoView() comment.scrollIntoView()

View file

@ -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=12"></script> <script defer src="/assets/js/comments.js?v=14"></script>
{% include "expanded_image_modal.html" %} {% include "expanded_image_modal.html" %}