From: Anthony Talarico Date: Wed, 13 Jan 2016 22:02:45 +0000 (-0500) Subject: testing on click for subcat cookie to display sub cats via shortcode X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=16ffcc86f0b406d5fec5f8ab2b733e79966b72b4;p=WP-Themes%2Fmichsci.git testing on click for subcat cookie to display sub cats via shortcode --- diff --git a/js/app.js b/js/app.js index aee75fa..40028ef 100644 --- 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 diff --git a/js/custom/upcp.js b/js/custom/upcp.js index dcf1bb0..349e89e 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -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