parent
7b90a2c0a4
commit
f27baac09c
3
main.js
3
main.js
|
@ -1315,11 +1315,12 @@ function init()
|
||||||
if (data.length)
|
if (data.length)
|
||||||
{
|
{
|
||||||
window.localStorage.setItem("data", JSON.stringify(data));
|
window.localStorage.setItem("data", JSON.stringify(data));
|
||||||
loadstorage();
|
|
||||||
}
|
}
|
||||||
|
loadstorage();
|
||||||
})
|
})
|
||||||
.catch(err =>
|
.catch(err =>
|
||||||
{
|
{
|
||||||
|
console.log(err);
|
||||||
settings.password = prompt("Password: ", settings.password);
|
settings.password = prompt("Password: ", settings.password);
|
||||||
savesettings();
|
savesettings();
|
||||||
init();
|
init();
|
||||||
|
|
Loading…
Reference in New Issue