From 9e788a9023aa5c66bfd742886493f927f673e189 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 18 Dec 2015 14:34:32 -0500 Subject: [PATCH] fixed conditional --- js/app.js | 2 +- js/custom/upcp.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); } -- 2.17.1