diff --git a/js/auto-reload.js b/js/auto-reload.js index 47063984..6935409e 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('
'); + $('div.thread').append($('
')).after(this); new_posts++; loaded_posts++; $(document).trigger('new_post', this); diff --git a/templates/post_thread.html b/templates/post_thread.html index 33e953ee..aa130c0a 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -85,5 +85,6 @@ {% for post in post.posts %} {% include 'post_reply.html' %} {% endfor %} -
{% if hr %}
{% endif %} +
+{% if hr %}
{% endif %}