diff options
Diffstat (limited to 'js/post-hover.js')
| -rw-r--r-- | js/post-hover.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/post-hover.js b/js/post-hover.js index 48f0ed96..f4dc9909 100644 --- a/js/post-hover.js +++ b/js/post-hover.js @@ -69,9 +69,11 @@ onready(function(){ context: document.body, success: function(data) { $(data).find('div.post.reply').each(function() { + // Not 100% sure that this doesn't break shit: + $(document).trigger('new_post', this); + if($('#' + $(this).attr('id')).length == 0) $('div.post:first').prepend($(this).css('display', 'none').addClass('hidden')); - }); $post = $('div.post#reply_' + id); |
