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() {
|
||||
savedLevels = savedLevels.filter(function(el) {return el != ['[[ID]]']})
|
||||
savedLevels = savedLevels.filter(function(el) {return el != '[[ID]]'})
|
||||
localStorage.setItem('saved', JSON.stringify(savedLevels));
|
||||
location.reload()
|
||||
freeze = true;
|
||||
|
|
Loading…
Reference in a new issue