summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-17 14:42:48 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-17 14:42:48 +1000
commitc0815ea25aab780402546d04a44f4b3f0dcf2f3a (patch)
tree16c9003360bdd67d2647e90ba3ab15bd3b402117 /js
parente5103b543ad76c2809ed5ea15e55e0d04d7a36da (diff)
Bugfix: When you hovered over a >>X link, then hid and unhid a thread (js/hide-threads.js) it would fuck up
Diffstat (limited to 'js')
-rw-r--r--js/post-hover.js2
1 files changed, 1 insertions, 1 deletions
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);