Browse Source

Catalog: don't show hidden threads

pull/40/head
8chan 9 years ago
committed by czaks
parent
commit
b056124e49
  1. 10
      js/catalog.js

10
js/catalog.js

@ -7,6 +7,16 @@ if (active_page == 'catalog') $(function(){
localStorage.catalog = JSON.stringify(catalog);
}
if (localStorage.hiddenthreads) {
var hidden_data = JSON.parse(localStorage.hiddenthreads);
if (hidden_data[board_name]) {
$.each(hidden_data[board_name], function(k, v) {
$('a[href*="'+k+'"]').parents('.mix').remove();
});
}
}
$("#sort_by").change(function(){
var value = this.value;
$('#Grid').mixItUp('sort', value);

Loading…
Cancel
Save