summaryrefslogtreecommitdiff
path: root/js/show-backlinks.js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-07-27 00:57:12 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-31 04:51:53 -0400
commit45ead9803f01c2cb84b11b3747e432737af27595 (patch)
tree9dc0505956ae94dc44280691e12a7fa6d1b2618f /js/show-backlinks.js
parent2868dd7886082cfb11fcbe8f8bee1108a48c81a3 (diff)
ukko: fix javascript interoperation
Conflicts: js/expand.js js/hide-threads.js templates/themes/ukko/ukko.js
Diffstat (limited to 'js/show-backlinks.js')
-rw-r--r--js/show-backlinks.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/show-backlinks.js b/js/show-backlinks.js
index 4ead494b..f23cfc38 100644
--- a/js/show-backlinks.js
+++ b/js/show-backlinks.js
@@ -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);
+ }
});
});