forked from rDrama/rDrama
fix show more button in posts
parent
ae04d97f84
commit
e5f7c7a918
|
@ -261,7 +261,7 @@ function changename(s1,s2) {
|
||||||
|
|
||||||
function showmore(t) {
|
function showmore(t) {
|
||||||
let div = t
|
let div = t
|
||||||
while (!(div.id && div.id.startsWith('comment-text-'))){
|
while (!(div.id && (div.id.startsWith('comment-text-') || div.id == 'post-text'))){
|
||||||
div = div.parentElement
|
div = div.parentElement
|
||||||
}
|
}
|
||||||
div = div.getElementsByTagName('d')[0]
|
div = div.getElementsByTagName('d')[0]
|
||||||
|
|
Loading…
Reference in New Issue