Fixed inability to send multilined messages
This commit is contained in:
parent
b4bf8b561b
commit
5bf696d998
@ -150,7 +150,7 @@ Template.chatInput.events
|
||||
|
||||
if event.shiftKey and (key is 13)
|
||||
event.preventDefault()
|
||||
$("#newMessageInput").append("\r") # Change newline character
|
||||
document.getElementById("newMessageInput").value += '\r' # Change newline character
|
||||
return
|
||||
|
||||
if key is 13 # Check for pressing enter to submit message
|
||||
|
Loading…
Reference in New Issue
Block a user