From 0b0fb2dcb0b1e35a2d85c1b1c3b9ee789bc187de Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sat, 18 Jan 2014 00:21:36 +0100 Subject: [PATCH] Just remove groups from localStorage instead of all data --- inc/myco.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/myco.js b/inc/myco.js index 7b47616..33d5974 100644 --- a/inc/myco.js +++ b/inc/myco.js @@ -381,7 +381,7 @@ clear_local_data=function() { } on_confirm_clear_local_data=function(data) { - localStorage.clear(); + delete localStorage.groups; location.reload(); }