removing empty tags from features filter develop
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 11 Feb 2016 16:54:47 +0000 (11:54 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 11 Feb 2016 16:54:47 +0000 (11:54 -0500)
js/app.js
js/custom/upcp.js
parts/sidebar-l.php

index 215957b..8dda86d 100644 (file)
--- 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=/";
     }
index f227ad1..0d83864 100644 (file)
@@ -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=/";
     }
index 51f91c2..44049b9 100644 (file)
@@ -5,7 +5,7 @@
               <h2> Features </h2>
            <?php 
             $args = array(
-                "hide_empty"=> false,
+                "hide_empty"=> true,
                 "hierarchical"=>true,
                 "parent"=>0
             );