mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 23:36:37 +08:00
removed unnecessary click event listener
This commit is contained in:
parent
277604d26b
commit
c8c4f28695
|
@ -63,13 +63,6 @@ export function showNewResultFilterPresetPopup(
|
|||
show();
|
||||
}
|
||||
|
||||
$(document).on("click", "#top .config .wordCount .text-button", (e) => {
|
||||
const wrd = $(e.currentTarget).attr("wordCount");
|
||||
if (wrd == "custom") {
|
||||
show();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("keydown", (event) => {
|
||||
if (
|
||||
event.key === "Escape" &&
|
||||
|
|
Loading…
Reference in a new issue