From: Anthony Talarico Date: Wed, 13 Jan 2016 15:35:52 +0000 (-0500) Subject: categories display on local but not dev, looking for bugs X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=5dba994091fef4a10c9e017a54320e667006039e;p=WP-Themes%2Fmichsci.git categories display on local but not dev, looking for bugs --- diff --git a/js/app.js b/js/app.js index fc65db5..e794e47 100644 --- a/js/app.js +++ b/js/app.js @@ -34,8 +34,8 @@ $(document).ready(function () { // don't display products on the main "products page" if ((window.location.href.indexOf("products-2") >= 0)){ - // $("#gridView").css("display", "none"); - // $("#listView").css("display", "none"); + $("#gridView").css("display", "none"); + $("#listView").css("display", "none"); $("#grid").on("click", function (e) { document.cookie = "catView=grid"; location.reload(); diff --git a/js/custom/upcp.js b/js/custom/upcp.js index 7ccd3f5..e4f7f1f 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -14,8 +14,8 @@ $(document).ready(function () { // don't display products on the main "products page" if ((window.location.href.indexOf("products-2") >= 0)){ - // $("#gridView").css("display", "none"); - // $("#listView").css("display", "none"); + $("#gridView").css("display", "none"); + $("#listView").css("display", "none"); $("#grid").on("click", function (e) { document.cookie = "catView=grid"; location.reload();