From: Anthony Talarico Date: Thu, 11 Feb 2016 16:54:47 +0000 (-0500) Subject: removing empty tags from features filter X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fdevelop;p=WP-Themes%2Fmichsci.git removing empty tags from features filter --- diff --git a/js/app.js b/js/app.js index 215957b..8dda86d 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()+(2*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..0d83864 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()+(2*1000)); var expires = "; expires="+date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; } diff --git a/parts/sidebar-l.php b/parts/sidebar-l.php index 51f91c2..44049b9 100644 --- a/parts/sidebar-l.php +++ b/parts/sidebar-l.php @@ -5,7 +5,7 @@

Features

false, + "hide_empty"=> true, "hierarchical"=>true, "parent"=>0 );