1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 20:51:50 +01:00

Use append instead of insertAfter to add new posts

This commit is contained in:
topkek 2014-10-24 05:55:18 +01:00
parent 75a561a81f
commit 92c1057b5c

View File

@ -158,7 +158,7 @@ $(document).ready(function(){
first_new_post = this;
makeIcon();
}
$(this).insertAfter($('div.post:last').next()).after('<br class="clear">');
$('<br class="clear">').appendTo($('div.thread')).after(this);
new_posts++;
loaded_posts++;
$(document).trigger('new_post', this);