forked from GithubBackups/vichan
Use append instead of insertAfter to add new posts
This commit is contained in:
parent
75a561a81f
commit
92c1057b5c
@ -158,7 +158,7 @@ $(document).ready(function(){
|
|||||||
first_new_post = this;
|
first_new_post = this;
|
||||||
makeIcon();
|
makeIcon();
|
||||||
}
|
}
|
||||||
$(this).insertAfter($('div.post:last').next()).after('<br class="clear">');
|
$('<br class="clear">').appendTo($('div.thread')).after(this);
|
||||||
new_posts++;
|
new_posts++;
|
||||||
loaded_posts++;
|
loaded_posts++;
|
||||||
$(document).trigger('new_post', this);
|
$(document).trigger('new_post', this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user