Strange bug in last commit
This commit is contained in:
parent
9123161870
commit
51361d02fb
@ -45,7 +45,7 @@ $(document).ready(function(){
|
||||
var id = $(this).children('p.intro').children('a.post_no:eq(1)').text();
|
||||
var thread_container = $(this).parent();
|
||||
$('<a class="hide-thread-link" style="float:left;margin-right:5px" href="javascript:void(0)">[-]</a><span> </span>')
|
||||
.insertBefore(thread_container.find('p.fileinfo'))
|
||||
.insertBefore(thread_container.find('p.fileinfo:first'))
|
||||
.click(function() {
|
||||
hidden_data[board][id] = Math.round(Date.now() / 1000);
|
||||
store_data();
|
||||
@ -66,7 +66,7 @@ $(document).ready(function(){
|
||||
hidden_div.remove();
|
||||
});
|
||||
|
||||
hidden_div.insertAfter(thread_container.find('p.fileinfo'));
|
||||
hidden_div.insertAfter(thread_container.find('p.fileinfo:first'));
|
||||
});
|
||||
if (hidden_data[board][id])
|
||||
thread_container.find('.hide-thread-link').click();
|
||||
|
Loading…
Reference in New Issue
Block a user