1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

fixes #747 and also fix when loading next page on ukko wrong value. e.g >>thread_<cite_id>

This commit is contained in:
fowr 2024-08-12 15:23:19 -03:00
parent db20a350a1
commit d8391eb34a
No known key found for this signature in database
GPG Key ID: 41DE01A5187B8438

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);
} }
}); });
}); });