From 96be2c2778e393447b29a45ced7ae5a13473eb68 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 11 Feb 2016 11:19:38 -0500 Subject: [PATCH] removing products link if no gallery present --- 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 215957b..d5af2d2 100644 --- a/js/app.js +++ b/js/app.js @@ -30,7 +30,7 @@ $(document).ready(function () { } function createCookieSubcat(name, value) { var date = new Date(); - date.setTime(date.getTime()+(1*1000)); + date.setTime(date.getTime()+(3*1000)); var expires = "; expires="+date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; } diff --git a/js/custom/upcp.js b/js/custom/upcp.js index f227ad1..091a48c 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -10,7 +10,7 @@ $(document).ready(function () { } function createCookieSubcat(name, value) { var date = new Date(); - date.setTime(date.getTime()+(1*1000)); + date.setTime(date.getTime()+(3*1000)); var expires = "; expires="+date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; } -- 2.17.1