code cleaning

This commit is contained in:
ReznoRMichael 2022-01-20 15:19:42 +01:00
commit acee3f0774
3 changed files with 12 additions and 23 deletions

View file

@ -2422,14 +2422,6 @@ function ResetCompletion(db) {
if (entries[entry].hasOwnProperty("max")) {
entries[entry].max = entries[entry].maxDefault;
}
if (entry.hasOwnProperty("currentName")) {
delete entries[entry].currentName;
}
if (entry.hasOwnProperty("currentSpoiler")) {
delete entries[entry].currentSpoiler;
}
}
}
}