master
Aevann1 2022-03-22 06:02:20 +02:00
parent 8ac500a8c0
commit 12f2735227
1 changed files with 3 additions and 3 deletions

View File

@ -150,9 +150,9 @@
}
textbox.addEventListener("keyup", function(event) {
if (event.key === 'Enter') {
event.preventDefault();
textbox.addEventListener("keyup", function(e) {
if (!e.shiftKey && e.key === 'Enter') {
e.preventDefault();
send()
}
})