mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-06 15:34:06 +08:00
fixed #141
This commit is contained in:
parent
930c3e55dc
commit
2b0ed50100
1 changed files with 1 additions and 1 deletions
|
|
@ -1038,7 +1038,7 @@ function focusWords() {
|
|||
}
|
||||
|
||||
function changeCustomText() {
|
||||
customText = prompt("Custom text");
|
||||
customText = prompt("Custom text").trim();
|
||||
customText = customText.replace(/[\n\r\t ]/gm, ' ');
|
||||
customText = customText.replace(/ +/gm, ' ');
|
||||
// initWords();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue