diff options
Diffstat (limited to 'js')
| -rw-r--r-- | js/auto-reload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/auto-reload.js b/js/auto-reload.js index fba26849..0282164a 100644 --- a/js/auto-reload.js +++ b/js/auto-reload.js @@ -236,7 +236,7 @@ $(document).ready(function(){ var n = new Notification("New reply to "+$('title').text(), {body: $('<div/>').html(body).text()}); } } - $(this).insertAfter($('div.post:not(.post-hover):last')).after('<br class="clear">'); + $(this).parent().insertAfter($('div.post:not(.post-hover):last').parent().next()).after('<br class="clear">'); new_posts++; loaded_posts++; $(document).trigger('new_post', this); |
