Just remove groups from localStorage instead of all data
Benjamin Renard

Benjamin Renard commited on 2014-01-17 23:21:36
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -381,7 +381,7 @@ clear_local_data=function() {
381 381
 }
382 382
 
383 383
 on_confirm_clear_local_data=function(data) {
384
-  localStorage.clear();
384
+  delete localStorage.groups;
385 385
   location.reload();
386 386
 }
387 387
 
388 388