mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-12 07:01:31 +08:00
double checking to remove custom text
This commit is contained in:
parent
ecaff47af9
commit
6d596d81b4
1 changed files with 3 additions and 0 deletions
|
|
@ -1511,6 +1511,9 @@ function buildCompletedEvent(difficultyFailed) {
|
|||
});
|
||||
} catch (e) {}
|
||||
completedEvent.tags = activeTagsIds;
|
||||
|
||||
if (completedEvent.mode != "custom") delete completedEvent.customText;
|
||||
|
||||
return completedEvent;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue