mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-21 15:56:24 +08:00
double checking to remove custom text
This commit is contained in:
parent
ecaff47af9
commit
6d596d81b4
|
@ -1511,6 +1511,9 @@ function buildCompletedEvent(difficultyFailed) {
|
|||
});
|
||||
} catch (e) {}
|
||||
completedEvent.tags = activeTagsIds;
|
||||
|
||||
if (completedEvent.mode != "custom") delete completedEvent.customText;
|
||||
|
||||
return completedEvent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue