Skip to content

Commit

Permalink
Commit the patch from issue 229
Browse files Browse the repository at this point in the history
#229

- also remove unused var declaration
  • Loading branch information
towards-a-new-leftypol committed Mar 20, 2021
1 parent 1a6b26d commit 237ad41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/catalog.js
Expand Up @@ -8,13 +8,13 @@ if (active_page == 'catalog') $(function(){

$("#sort_by").change(function(){
var value = this.value;
$('#Grid').mixItUp('sort', (value == "random" ? value : "sticky:desc " + value));
$('#Grid').mixItUp('sort', (((value == "random") || (board_name == "overboard")) ? value : "sticky:desc " + value));
catalog.sort_by = value;
localStorage.catalog = JSON.stringify(catalog);
});

$("#image_size").change(function(){
var value = this.value, old;
var value = this.value;
$(".grid-li").removeClass("grid-size-vsmall");
$(".grid-li").removeClass("grid-size-small");
$(".grid-li").removeClass("grid-size-large");
Expand Down

0 comments on commit 237ad41

Please sign in to comment.