From: Anthony Talarico Date: Thu, 11 Feb 2016 16:19:38 +0000 (-0500) Subject: removing products link if no gallery present X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=96be2c2778e393447b29a45ced7ae5a13473eb68;p=WP-Themes%2Fmichsci.git removing products link if no gallery present --- 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=/"; }