1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +01:00

from master branch

This commit is contained in:
Lorenzo Yario 2024-09-17 21:44:06 -07:00 committed by GitHub
parent 8c27b5261c
commit a457b905bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,9 +57,10 @@ onReady(function() {
$('div.post.op').each(showBackLinks);
$(document).on('new_post', function(e, post) {
showBackLinks.call(post);
if ($(post).hasClass("op")) {
$(post).find('div.post.reply').each(showBackLinks);
} else {
$(post).parent().find('div.post.reply').each(showBackLinks);
}
});
});