dont make pressing enter on inline emoji modal in chat send message

master
Aevann 2023-08-02 10:53:26 +03:00
parent f77476fc3e
commit cb5835624d
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}