Comments: Don't break JavaScript when loading more (#3870)

pull/3741/merge
Samantaz Fox 1 year ago
commit 68c26563fc
No known key found for this signature in database
GPG Key ID: F42821059186176E

@ -282,7 +282,7 @@ function get_youtube_replies(target, load_more, load_replies) {
if (load_more) {
body = body.parentNode.parentNode;
body.removeChild(body.lastElementChild);
body.innerHTML += response.contentHtml;
body.insertAdjacentHTML('beforeend', response.contentHtml);
} else {
body.removeChild(body.lastElementChild);

Loading…
Cancel
Save