code cleaning
This commit is contained in:
parent
9fd12eef50
commit
acee3f0774
3 changed files with 12 additions and 23 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue