mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-17 19:15:59 +08:00
Merge branch 'master' of https://github.com/Miodec/monkey-type
This commit is contained in:
commit
35a23f09b3
2 changed files with 8 additions and 1 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -83,3 +83,8 @@ functions/serviceAccountKey_live_copy.json
|
|||
|
||||
#generated files
|
||||
dist/
|
||||
|
||||
#cloudflare y
|
||||
.cloudflareKey.txt
|
||||
.cloudflareKey_copy.txt
|
||||
purgeCfCache.sh
|
|
@ -4082,7 +4082,7 @@ $("#customMode2PopupWrapper").click((e) => {
|
|||
}
|
||||
});
|
||||
|
||||
$("#customMode2Popup input").keypress(() => {
|
||||
$("#customMode2Popup input").keypress((e) => {
|
||||
if (e.keyCode == 13) {
|
||||
applyMode2Popup();
|
||||
}
|
||||
|
@ -4649,6 +4649,8 @@ function handleBackspace(event) {
|
|||
if (addspace) {
|
||||
currentInput += " ";
|
||||
}
|
||||
} else if(event.metaKey){
|
||||
currentInput = "";
|
||||
} else {
|
||||
currentInput = currentInput.substring(0, currentInput.length - 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue