forked from leftypol/leftypol
Generalize ignoring sticky threads on overboard catalogs
This commit is contained in:
parent
8acc328c91
commit
b518cc94c3
3 changed files with 4 additions and 2 deletions
|
@ -8,7 +8,7 @@ if (active_page == 'catalog') $(function(){
|
|||
|
||||
$("#sort_by").change(function(){
|
||||
var value = this.value;
|
||||
$('#Grid').mixItUp('sort', (((value == "random") || (board_name == "overboard")) ? value : "sticky:desc " + value));
|
||||
$('#Grid').mixItUp('sort', (((value == "random") || is_overboard) ? value : "sticky:desc " + value));
|
||||
catalog.sort_by = value;
|
||||
localStorage.catalog = JSON.stringify(catalog);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue