This commit is contained in:
kek7198 2021-12-09 19:17:59 -06:00
parent 6f3bc637d8
commit fb7fe0be20

View file

@ -14,7 +14,7 @@ function collapse_comment(comment_id) {
['items-center', 'opacity-50', 'hover:opacity-100', 'collapsed'].map(y=> comment.classList.toggle(y)); // apply flex alignment and opacity to comment parent wrapping div
if isClosed ? toggler.innerText = '[+]' : toggerl.innerText = '[-]'
if (isClosed) ? toggler.innerText = '[+]' : toggerl.innerText = '[-]';
if (isClosed && top < 0) {
comment.scrollIntoView()