From: Anthony Talarico Date: Wed, 13 Jan 2016 20:22:39 +0000 (-0500) Subject: removing categories from display in appearance menu dropdown pages X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=d8adbef18dc61d6d7aaedb1a41b3f21609a92d4a;p=WP-Themes%2Fmichsci.git removing categories from display in appearance menu dropdown pages --- diff --git a/js/app.js b/js/app.js index 8107911..e8835ad 100644 --- a/js/app.js +++ b/js/app.js @@ -157,6 +157,8 @@ $(document).ready(function () { if($("#tagBox :checkbox:checked").length === 0 && window.location.href.indexOf("products-3/") >= 0){ // $("#categoriesGridView").show(); // $("#categoriesListView").show(); + $("#categoriesGridView").hide(); + $("#categoriesListView").hide(); $("#gridView").css("display", "inherit"); $("#listView").css("display", "none"); $(".product").show(); diff --git a/js/custom/upcp.js b/js/custom/upcp.js index d58bc3a..19ddeb3 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -137,6 +137,8 @@ $(document).ready(function () { if($("#tagBox :checkbox:checked").length === 0 && window.location.href.indexOf("products-3/") >= 0){ // $("#categoriesGridView").show(); // $("#categoriesListView").show(); + $("#categoriesGridView").hide(); + $("#categoriesListView").hide(); $("#gridView").css("display", "inherit"); $("#listView").css("display", "none"); $(".product").show();