fix showmore button on old posts

pull/134/head
Aevann 2023-02-24 08:38:55 +02:00
parent e5f7c7a918
commit 1a91f42872
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ function showmore(t) {
while (!(div.id && (div.id.startsWith('comment-text-') || div.id == 'post-text'))){
div = div.parentElement
}
div = div.getElementsByTagName('d')[0]
div = div.getElementsByClassName('d-none')[0]
div.classList.toggle('d-none')
if (div.classList.contains('d-none'))
t.innerHTML = 'SHOW MORE'