ukko: fix javascript interoperation

Conflicts:
	js/expand.js
	js/hide-threads.js
	templates/themes/ukko/ukko.js
This commit is contained in:
czaks 2013-07-27 00:57:12 -04:00 committed by Michael Foster
parent 2868dd7886
commit 45ead9803f
3 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);
}
});
});