1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 20:51:50 +01:00
This commit is contained in:
8chan 2014-10-30 05:33:24 -07:00
commit aabfda9278
3 changed files with 5 additions and 6 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 %}

View File

@ -47,8 +47,7 @@
{% endif %}
id="img-{{ post.id }}" data-subject="{% if post.subject %}{{ post.subject }}{% endif %}" data-name="{{ post.name }}" data-muhdifference="{{ post.muhdifference }}" data-last-reply="{% if post.last_reply %}{{ post.last_reply }}{% endif %}" data-last-subject="{% if post.last_reply_subject %}{{ post.last_reply_subject }}{% endif %}" data-last-name="{% if post.last_reply %}{{ post.last_reply_name }}{% endif %}" data-last-difference="{% if post.last_reply %}{{ post.last_reply_difference }}{% endif %}" class="{{post.board}} thread-image" title="{{post.bump|date('%b %d %H:%M')}}">
</a>
<p>
<span class="replies">
<div class="replies">
<strong>R: {{ post.reply_count }} / I: {{ post.image_count }}</strong>
{% if post.subject %}
<p class="intro">
@ -61,8 +60,7 @@
{% endif %}
{{ post.body }}
</span>
</p>
</div>
</div>
</div>
{% endfor %}