From d49118aae07a5b6853e1286e4f9ec55ad04a51ad Mon Sep 17 00:00:00 2001 From: wholelotofhs Date: Thu, 22 Jan 2015 17:11:31 -0500 Subject: [PATCH] hotfix for expand button not showing I have no idea how this problem didn't show up (like it does on the live site) when I tested the code before. --- js/hide-threads.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();