mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 16:26:18 +08:00
fixed ctrl + enter causing issues on the custom text popup
This commit is contained in:
parent
dc06badad3
commit
94c71818c8
|
@ -70,7 +70,7 @@ $(`${popup} .inputs .check input`).change(() => {
|
|||
|
||||
$(`${popup} textarea`).keypress((e) => {
|
||||
if (e.code === "Enter" && e.ctrlKey) {
|
||||
$(`${popup} .button`).click();
|
||||
$(`${popup} .button.apply`).click();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -659,6 +659,7 @@ a:hover {
|
|||
padding: 5rem 0;
|
||||
|
||||
#wordFilterPopup {
|
||||
color: var(--sub-color);
|
||||
background: var(--bg-color);
|
||||
border-radius: var(--roundness);
|
||||
padding: 2rem;
|
||||
|
|
Loading…
Reference in a new issue