From 9b0a77eaa84741d931690ff07b46197e5de717f6 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 28 Dec 2015 16:58:37 -0500 Subject: [PATCH] removing tagbox from products detail page --- js/app.js | 1 + js/custom/upcp.js | 1 + 2 files changed, 2 insertions(+) diff --git a/js/app.js b/js/app.js index eca8c71..aba1e67 100644 --- a/js/app.js +++ b/js/app.js @@ -56,6 +56,7 @@ $(document).ready(function () { document.cookie = "view=list"; window.location.href = window.location.pathname; }); + $("#tagBox").css("display", "none"); } // change output view from list to grid if (!(window.location.href.indexOf("products-2/?pagename") >= 0)) { diff --git a/js/custom/upcp.js b/js/custom/upcp.js index 79ddb6b..c9f434e 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -36,6 +36,7 @@ $(document).ready(function () { document.cookie = "view=list"; window.location.href = window.location.pathname; }); + $("#tagBox").css("display", "none"); } // change output view from list to grid if (!(window.location.href.indexOf("products-2/?pagename") >= 0)) { -- 2.17.1