forked from rDrama/rDrama
fix double enter
parent
3b5b3d1b7b
commit
a19a86dbeb
|
@ -192,7 +192,7 @@ function quote(t) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ta.addEventListener("keydown", function(e) {
|
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();
|
e.preventDefault();
|
||||||
send();
|
send();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue