ukko: fix javascript interoperation

This commit is contained in:
czaks 2013-07-27 00:57:12 -04:00
parent 35f8730f40
commit e3cb427fee
4 changed files with 26 additions and 6 deletions

View file

@ -48,7 +48,12 @@ onready(function(){
$('div.post.reply').each(showBackLinks);
$(document).bind('new_post', function(e, post) {
showBackLinks.call(post);
if ($(post).hasClass("reply")) {
showBackLinks.call(post);
}
else {
$(post).find('div.post.reply').each(showBackLinks);
}
});
});