mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +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:
parent
db20a350a1
commit
d8391eb34a
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user