forked from MarseyWorld/MarseyWorld
fds
parent
8ac500a8c0
commit
12f2735227
|
@ -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()
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue