From 92c1057b5cc085cdf27794266c98a7fdfaec51bb Mon Sep 17 00:00:00 2001 From: topkek Date: Fri, 24 Oct 2014 05:55:18 +0100 Subject: [PATCH] Use append instead of insertAfter to add new posts --- js/auto-reload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/auto-reload.js b/js/auto-reload.js index 47063984..155e54ce 100644 --- a/js/auto-reload.js +++ b/js/auto-reload.js @@ -158,7 +158,7 @@ $(document).ready(function(){ first_new_post = this; makeIcon(); } - $(this).insertAfter($('div.post:last').next()).after('
'); + $('
').appendTo($('div.thread')).after(this); new_posts++; loaded_posts++; $(document).trigger('new_post', this);