From: Anthony Talarico Date: Tue, 12 Jan 2016 19:40:31 +0000 (-0500) Subject: fixed syntax error X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=4c32eeff82538dedbbe3b761ebf1804ebef168a8;p=WP-Themes%2Fmichsci.git fixed syntax error --- diff --git a/js/app.js b/js/app.js index d207309..4c748ba 100644 --- a/js/app.js +++ b/js/app.js @@ -46,8 +46,8 @@ $(document).ready(function () { }); } if ((window.location.href.indexOf("products-3") >= 0)){ - $("#gridView").css("display", "none"); - $("#listView").css("display", "none"); + $("#categoriesGridView").css("display", "none"); + $("#categoriesListView").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 b3aeb66..c56d61b 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -26,8 +26,8 @@ $(document).ready(function () { }); } if ((window.location.href.indexOf("products-3") >= 0)){ - $("#gridView").css("display", "none"); - $("#listView").css("display", "none"); + $("#categoriesGridView").css("display", "none"); + $("#categoriesListView").css("display", "none"); $("#grid").on("click", function (e) { document.cookie = "catView=grid"; location.reload();