allow shift+enter in chat

pull/215/head
Aevann 2023-10-08 22:55:52 +03:00
parent 413c8e7d21
commit e332387d43
1 changed files with 1 additions and 1 deletions

View File

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