1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-14 10:57:38 +01:00

fix thread expanding and post hover interop a bit

This commit is contained in:
czaks 2013-08-13 15:30:17 -04:00
parent 4f855cf3b3
commit c2ffd32436

View File

@ -27,6 +27,7 @@ $(document).ready(function(){
success: function(data) { success: function(data) {
var last_expanded = false; var last_expanded = false;
$(data).find('div.post.reply').each(function() { $(data).find('div.post.reply').each(function() {
thread.find('.hidden').remove();
var post_in_doc = thread.find('#' + $(this).attr('id')); var post_in_doc = thread.find('#' + $(this).attr('id'));
if(post_in_doc.length == 0) { if(post_in_doc.length == 0) {
if(last_expanded) { if(last_expanded) {