fix
This commit is contained in:
parent
5619d7b27f
commit
7dae31b909
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ function collapse_comment(comment_id) {
|
|||
const isClosed = comment.classList.contains("collapsed");
|
||||
const top = comment.getBoundingClientRect().y;
|
||||
|
||||
const toggler = document.getElementById(`comment-collase-${comment_id}`);
|
||||
const toggler = document.getElementById(`comment-collapse-${comment_id}`);
|
||||
|
||||
['hidden', 'pointer-events-none'].map(x=> toggler.classList.toggle(x));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue