hide-threads.js: show post hider even in posts without an image

This commit is contained in:
czaks 2013-07-26 14:27:38 -04:00 committed by Michael Foster
parent d82cd9b7bd
commit c51dc146e2

View File

@ -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();