name null toggle class button
This commit is contained in:
parent
d3c25d42fc
commit
0afc9a6e3b
1 changed files with 3 additions and 0 deletions
|
@ -146,9 +146,11 @@ function initStorage() {
|
|||
function initProgetto() {
|
||||
if (initStorage())
|
||||
|
||||
// localStorage.setItem("key_progetto", null)
|
||||
if (localStorage.getItem("key_progetto") == null) {
|
||||
$('#prog-0').addClass('hide');
|
||||
$('#newprog').removeClass('hide');
|
||||
return false;
|
||||
}
|
||||
|
||||
if (localStorage.getItem("key_progetto") != null)
|
||||
|
@ -156,6 +158,7 @@ function initProgetto() {
|
|||
scrivoNome();
|
||||
$('#prog-0').removeClass('hide');
|
||||
$('#newprog').addClass('hide');
|
||||
return true;
|
||||
}
|
||||
|
||||
function toggleNewOldProg() {
|
||||
|
|
Loading…
Reference in a new issue