There are no mistakes, only happy little accidents
This commit is contained in:
parent
dec94a1160
commit
b8103d1d13
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ function saveLevel() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function deleteLevel() {
|
function deleteLevel() {
|
||||||
savedLevels = savedLevels.filter(function(el) {return el != ['[[ID]]']})
|
savedLevels = savedLevels.filter(function(el) {return el != '[[ID]]'})
|
||||||
localStorage.setItem('saved', JSON.stringify(savedLevels));
|
localStorage.setItem('saved', JSON.stringify(savedLevels));
|
||||||
location.reload()
|
location.reload()
|
||||||
freeze = true;
|
freeze = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue