From c0815ea25aab780402546d04a44f4b3f0dcf2f3a Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sat, 17 Aug 2013 14:42:48 +1000 Subject: [PATCH] Bugfix: When you hovered over a >>X link, then hid and unhid a thread (js/hide-threads.js) it would fuck up --- js/post-hover.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/post-hover.js b/js/post-hover.js index f4dc9909..263dc9ae 100644 --- a/js/post-hover.js +++ b/js/post-hover.js @@ -73,7 +73,7 @@ onready(function(){ $(document).trigger('new_post', this); if($('#' + $(this).attr('id')).length == 0) - $('div.post:first').prepend($(this).css('display', 'none').addClass('hidden')); + $('body').prepend($(this).css('display', 'none').addClass('hidden')); }); $post = $('div.post#reply_' + id);