1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

Merge pull request #788 from perdedora/patch-747

fixes #747
This commit is contained in:
Lorenzo Yario 2024-09-17 21:40:04 -07:00 committed by GitHub
commit 3291dc27f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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