diff --git a/js/hide-threads.js b/js/hide-threads.js
index 783b7bec..480e7db9 100644
--- a/js/hide-threads.js
+++ b/js/hide-threads.js
@@ -84,7 +84,7 @@ $(document).ready(function(){
var board = post.parent().data('board');
$('[–]')
- .insertAfter($(this).children('p.intro').children('a.post_no:last'))
+ .insertAfter(post.children('p.intro').children('a.post_no:last'))
.click(function() {
hidden_data[board][id] = Math.round(Date.now() / 1000);
store_data();
@@ -92,7 +92,7 @@ $(document).ready(function(){
post.children('div').hide();
hide_link.hide();
$('[+]')
- .insertAfter($(this).children('p.intro').children('a.post_no:last'))
+ .insertAfter(post.children('p.intro').children('a.post_no:last'))
.click(function() {
delete hidden_data[board][id];
store_data();