From f9ca04ebce2a8b19f522f19f5dd9f44230f0922f Mon Sep 17 00:00:00 2001 From: Emmanuel Pelletier Date: Sat, 5 Apr 2014 11:16:57 +0200 Subject: [PATCH 1/2] removing redirection to userpage via cookie --- index.shtml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/index.shtml b/index.shtml index aa6f402..b6f8796 100644 --- a/index.shtml +++ b/index.shtml @@ -8,25 +8,6 @@ - From 274c70728aed520483da341d598420ebf0e35d63 Mon Sep 17 00:00:00 2001 From: Emmanuel Pelletier Date: Sat, 5 Apr 2014 11:18:41 +0200 Subject: [PATCH 2/2] 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() {