Merge pull request #206 from topkek/patch-4

Fix merged posts bug
This commit is contained in:
Marcin Łabanowski 2014-10-24 12:27:25 +02:00
commit 536c5f3463
2 changed files with 3 additions and 2 deletions

View File

@ -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">'); $('div.thread').append($('<br class="clear">')).after(this);
new_posts++; new_posts++;
loaded_posts++; loaded_posts++;
$(document).trigger('new_post', this); $(document).trigger('new_post', this);

View File

@ -85,5 +85,6 @@
{% for post in post.posts %} {% for post in post.posts %}
{% include 'post_reply.html' %} {% include 'post_reply.html' %}
{% endfor %} {% endfor %}
<br class="clear"/>{% if hr %}<hr/>{% endif %} <br class="clear"/>
</div> </div>
{% if hr %}<hr/>{% endif %}