diff --git a/js/catalog.js b/js/catalog.js index bf781c10..c620918c 100644 --- a/js/catalog.js +++ b/js/catalog.js @@ -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); }); diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 7fa7146f..00cc21e2 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -6,7 +6,8 @@