From aad35f56c65f237369c866e184738cad00ea7cc6 Mon Sep 17 00:00:00 2001 From: Mark Taiwan Date: Thu, 29 Jan 2015 09:48:15 +0800 Subject: [PATCH] Bug fix: click to expand fix issue: https://8ch.net/meta/res/54186.html --- js/expand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/expand.js b/js/expand.js index 0fa8de05..c43481ee 100644 --- a/js/expand.js +++ b/js/expand.js @@ -24,7 +24,7 @@ $(document).ready(function(){ var thread = $(this).parents('[id^="thread_"]'); var id = thread.attr('id').replace(/^thread_/, ''); $.ajax({ - url: thread.find('p.intro a.post_no:first').attr('href'), + url: thread.find('div.post:not(.hidden) p.intro a.post_no:first').attr('href'), context: document.body, success: function(data) { var last_expanded = false;