hide-threads.js: show post hider even in posts without an image
This commit is contained in:
parent
d82cd9b7bd
commit
c51dc146e2
@ -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:first'))
|
||||
.insertBefore(thread_container.find(':first'))
|
||||
.click(function() {
|
||||
hidden_data[board][id] = Math.round(Date.now() / 1000);
|
||||
store_data();
|
||||
|
Loading…
Reference in New Issue
Block a user