forked from MarseyWorld/MarseyWorld
dont make pressing enter on inline emoji modal in chat send message
parent
f77476fc3e
commit
cb5835624d
|
@ -201,7 +201,7 @@ function quote(t) {
|
|||
}
|
||||
|
||||
ta.addEventListener("keyup", function(e) {
|
||||
if (e.key === 'Enter') {
|
||||
if (e.key === 'Enter' && !current_word) {
|
||||
e.preventDefault();
|
||||
send();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue