diff options
| author | czaks <marcin@6irc.net> | 2013-07-27 00:57:12 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-07-27 00:57:12 -0400 |
| commit | e3cb427feefbbb4fd6a5e76ce77ef80a240941f1 (patch) | |
| tree | 4ab6c32d5b788eefab9c4c4a654675f0aeb086aa /js/show-backlinks.js | |
| parent | 35f8730f40d745b93cefbca92d5e83a18599f70c (diff) | |
ukko: fix javascript interoperation
Diffstat (limited to 'js/show-backlinks.js')
| -rw-r--r-- | js/show-backlinks.js | 7 |
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); + } }); }); |
