From 274c70728aed520483da341d598420ebf0e35d63 Mon Sep 17 00:00:00 2001 From: Emmanuel Pelletier Date: Sat, 5 Apr 2014 11:18:41 +0200 Subject: [PATCH] No need to save a cookie anymore Cookie was only use for page redirection (removed in last commit) --- main.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.js b/main.js index 4e3e93b..0471a23 100644 --- a/main.js +++ b/main.js @@ -79,11 +79,6 @@ $(document).ready(function() { $("#source").html(footer); document.title = NAME; - document.cookie = 'u=' + NAME + '; expires=Thu, 2 Aug 2021 20:47:11 UTC; path=/'; - $("#home").click(function() { - document.cookie = 'u=' + NAME + '; expires=Thu, 2 Aug 2001 20:47:11 UTC; path=/'; - }); - }); $(window).bind('hashchange', function() {