From: Anthony Talarico Date: Fri, 18 Dec 2015 19:34:32 +0000 (-0500) Subject: fixed conditional X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9e788a9023aa5c66bfd742886493f927f673e189;p=WP-Themes%2Fmichsci.git fixed conditional --- diff --git a/js/app.js b/js/app.js index 186702b..f43ce1f 100644 --- a/js/app.js +++ b/js/app.js @@ -22,7 +22,7 @@ $(document).ready(function () { $(document).ready(function () { "use strict"; - if ((window.location.href.indexOf("products/?pagename") >= 0)) { + if ((window.location.href.indexOf("products-2/?pagename") >= 0)) { $("#viewBtns").css("display", "none"); } diff --git a/js/custom/upcp.js b/js/custom/upcp.js index eec3de2..bc0040f 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -2,7 +2,7 @@ $(document).ready(function () { "use strict"; - if ((window.location.href.indexOf("products/?pagename") >= 0)) { + if ((window.location.href.indexOf("products-2/?pagename") >= 0)) { $("#viewBtns").css("display", "none"); }