From: Anthony Talarico Date: Wed, 13 Jan 2016 14:29:24 +0000 (-0500) Subject: testing display of listview sub cats X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=1d40eaa9cc70a47562469644334bf2a79bf53531;p=WP-Themes%2Fmichsci.git testing display of listview sub cats --- diff --git a/js/app.js b/js/app.js index 3ef3efa..96d8f9d 100644 --- a/js/app.js +++ b/js/app.js @@ -35,7 +35,7 @@ $(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"); + // $("#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 8d6ff9c..f8929eb 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -15,7 +15,7 @@ $(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"); + // $("#listView").css("display", "none"); $("#grid").on("click", function (e) { document.cookie = "catView=grid"; location.reload();