Fixed inability to send multilined messages

This commit is contained in:
perroned 2015-02-04 11:11:47 -08:00
parent b4bf8b561b
commit 5bf696d998

View File

@ -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