mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-23 00:37:29 +08:00
fixed input getting out of sync after pressing ctrl+backspace with a special character as the only input. closes #1688
This commit is contained in:
parent
402744ada7
commit
4dd2ada0d1
|
@ -183,8 +183,6 @@ function handleBackspace(event) {
|
|||
Funbox.toggleScript(TestLogic.words.getCurrent());
|
||||
TestUI.updateWordElement(!Config.blindMode);
|
||||
TestLogic.input.resetCurrent();
|
||||
TestLogic.input.popHistory();
|
||||
TestLogic.corrected.popHistory();
|
||||
} else {
|
||||
const regex = new RegExp(
|
||||
/[ £§`~!@#$%^&*()_+\\\-=[\]{};':"|,./<>?]/,
|
||||
|
|
Loading…
Reference in a new issue