From 2d6bfc2666870c932c6b75de77fb3a333d2c5beb Mon Sep 17 00:00:00 2001 From: Martin Geno Date: Fri, 24 Jun 2016 09:37:37 +0200 Subject: [PATCH] fix notification --- js/init.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/init.js b/js/init.js index ee6a60d..0b9022a 100644 --- a/js/init.js +++ b/js/init.js @@ -1,9 +1,7 @@ send('GET',"config.json").then(function(config){ internal.config = config createModel() - localStorage.removeItem("nodes") - localStorage.removeItem("aliases") - if(false && localStorageTest()){ + if(localStorageTest()){ internal.nodes = JSON.parse(localStorage.getItem("nodes")) internal.aliases = JSON.parse(localStorage.getItem("aliases")) if(!internal.nodes){