infinity icon indicating copy to clipboard operation
infinity copied to clipboard

hiding posts with the post filter doesn't affect catalog.html

Open ctrlcctrlv opened this issue 10 years ago • 3 comments

@marktaiwan the catalog.js script includes code for hiding threads in localStorage.hiddenthreads, but the new script didn't update this part

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

ctrlcctrlv avatar Mar 06 '15 05:03 ctrlcctrlv

i also made it add to the filter

        $(document).on('click', '.mix', function(e) {
                if (e.shiftKey) {
                        hidden_data[board_name][$(this).data('id')] = Math.round(Date.now() / 1000);
                        $(this).remove();
                        localStorage.hiddenthreads = JSON.stringify(hidden_data);
                }
        });

easter egg :^)

let me know if you can get around to adding catalog support or if i have to figure it out

ctrlcctrlv avatar Mar 06 '15 05:03 ctrlcctrlv

I'll work on incorporating catalog support into post-filter.js, including the shift+click shortcut.

marktaiwan avatar Mar 06 '15 05:03 marktaiwan

It's done #414

marktaiwan avatar Mar 06 '15 08:03 marktaiwan