mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 23:20:25 +08:00
fixed a weird bug when using a mouse to pick an input command and then pressing enter would result in two commands being executed
This commit is contained in:
parent
34c04d99ee
commit
20418b74b8
1 changed files with 1 additions and 0 deletions
|
@ -1414,6 +1414,7 @@ $("#commandLineWrapper #commandLine .suggestions").on("mouseover", (e) => {
|
|||
});
|
||||
|
||||
$("#commandLineWrapper #commandLine .suggestions").click((e) => {
|
||||
$(".suggestions .entry").removeClass('activeKeyboard');
|
||||
triggerCommand($(e.target).attr("command"));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue