diff --git a/js/hide-threads.js b/js/hide-threads.js index 64f0a384..bc1526eb 100644 --- a/js/hide-threads.js +++ b/js/hide-threads.js @@ -87,23 +87,22 @@ $(document).ready(function(){ hidden_data[board] = {}; // id : timestamp } - $('[–]') - .insertAfter(post.children('p.intro').children('a.post_no:last')) + $('[–]') + .insertBefore(post.children('p.intro').children('input.delete')) .click(function() { hidden_data[board][id] = Math.round(Date.now() / 1000); store_data(); var hide_link = $(this); post.children('div').hide(); hide_link.hide(); - $('[+]') - .insertAfter(post.children('p.intro').children('a.post_no:last')) + $('[+]') + .insertBefore(post.children('p.intro').children('input.delete')) .click(function() { delete hidden_data[board][id]; store_data(); post.children('div').show(); hide_link.show(); $(this).remove(); - }); }); if (hidden_data[board][id])