fix notification

This commit is contained in:
Martin Geno 2016-06-24 09:37:37 +02:00
parent 4294f29eec
commit 2d6bfc2666
1 changed files with 1 additions and 3 deletions

View File

@ -1,9 +1,7 @@
send('GET',"config.json").then(function(config){ send('GET',"config.json").then(function(config){
internal.config = config internal.config = config
createModel() createModel()
localStorage.removeItem("nodes") if(localStorageTest()){
localStorage.removeItem("aliases")
if(false && localStorageTest()){
internal.nodes = JSON.parse(localStorage.getItem("nodes")) internal.nodes = JSON.parse(localStorage.getItem("nodes"))
internal.aliases = JSON.parse(localStorage.getItem("aliases")) internal.aliases = JSON.parse(localStorage.getItem("aliases"))
if(!internal.nodes){ if(!internal.nodes){