testing on click for subcat cookie to display sub cats via shortcode
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 13 Jan 2016 22:02:45 +0000 (17:02 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 13 Jan 2016 22:02:45 +0000 (17:02 -0500)
js/app.js
js/custom/upcp.js

index aee75fa..40028ef 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -240,4 +240,8 @@ $(document).ready(function () {
 //        $(".hitarea").click(function(){ 
 //        });
 //    });
+    $(".top-bar").find(".menu-item").find(".sub-menu.dropdown").find(".menu-item").on("click", function () {
+      
+        createCookieSubcat("subcat", "subcat");
+    });
 });
\ No newline at end of file
index dcf1bb0..349e89e 100644 (file)
@@ -220,4 +220,8 @@ $(document).ready(function () {
 //        $(".hitarea").click(function(){ 
 //        });
 //    });
+    $(".top-bar").find(".menu-item").find(".sub-menu.dropdown").find(".menu-item").on("click", function () {
+      
+        createCookieSubcat("subcat", "subcat");
+    });
 });
\ No newline at end of file