fixed conditional
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 18 Dec 2015 19:34:32 +0000 (14:34 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 18 Dec 2015 19:34:32 +0000 (14:34 -0500)
js/app.js
js/custom/upcp.js

index 186702b..f43ce1f 100644 (file)
--- 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");
     }
   
index eec3de2..bc0040f 100644 (file)
@@ -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");
     }