testing cookie deletion
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 13 Jan 2016 14:59:44 +0000 (09:59 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 13 Jan 2016 14:59:44 +0000 (09:59 -0500)
js/app.js
js/custom/upcp.js

index 29e5552..e45400c 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -209,6 +209,9 @@ $(document).ready(function () {
         //createCookie("subcat", "subcat");
         document.cookie = "subcat=subcat";
     });
+    $(".subcat").on("click", function() {
+       document.cookie ="subcat=";
+    });
     
 //    $("document").ready(function() {
 //        $(".hitarea").trigger('click');
index f16c3ad..f41a34b 100644 (file)
@@ -189,6 +189,9 @@ $(document).ready(function () {
         //createCookie("subcat", "subcat");
         document.cookie = "subcat=subcat";
     });
+    $(".subcat").on("click", function() {
+       document.cookie ="subcat=";
+    });
     
 //    $("document").ready(function() {
 //        $(".hitarea").trigger('click');