1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 09:27:24 +01:00

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;
makeIcon();
}
$(this).insertAfter($('div.post:last').next()).after('<br class="clear">');
$('div.thread').append($('<br class="clear">')).after(this);
new_posts++;
loaded_posts++;
$(document).trigger('new_post', this);

View File

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