Bug fix: click to expand

fix issue: https://8ch.net/meta/res/54186.html
This commit is contained in:
Mark Taiwan 2015-01-29 09:48:15 +08:00
parent 6b7df139e6
commit aad35f56c6

View File

@ -24,7 +24,7 @@ $(document).ready(function(){
var thread = $(this).parents('[id^="thread_"]'); var thread = $(this).parents('[id^="thread_"]');
var id = thread.attr('id').replace(/^thread_/, ''); var id = thread.attr('id').replace(/^thread_/, '');
$.ajax({ $.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, context: document.body,
success: function(data) { success: function(data) {
var last_expanded = false; var last_expanded = false;