mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 18:53:26 +08:00
fix(commandline): pressing esc always closing modal instead of going back in history
This commit is contained in:
parent
7b86d5c606
commit
6357489b1d
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ async function decrementActiveIndex(): Promise<void> {
|
|||
const modal = new AnimatedModal({
|
||||
dialogId: "commandLine",
|
||||
customEscapeHandler: (): void => {
|
||||
hide();
|
||||
//
|
||||
},
|
||||
customWrapperClickHandler: (): void => {
|
||||
hide();
|
||||
|
|
Loading…
Reference in a new issue