fix double enter

master
Aevann 2024-03-09 10:38:30 +02:00
parent 3b5b3d1b7b
commit a19a86dbeb
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ function quote(t) {
}
ta.addEventListener("keydown", function(e) {
if (e.key === 'Enter' && !e.shiftKey && !current_word) {
if (e.key === 'Enter' && !e.shiftKey && inline_carot_modal.style.display == 'none') {
e.preventDefault();
send();
}