mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-29 23:09:42 -05:00
Merge branch 'chatbox-newline' into chatbox-fix
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ window.setTimeout(updateMessages, 3000);
|
||||
|
||||
var xhr = new XMLHttpRequest();
|
||||
function editorOnKeyDown(evt, sender = null) {
|
||||
if (evt.which == 13) {
|
||||
if (evt.key == "Enter" && !evt.shiftKey) {
|
||||
var message = $('#chat-message').bbcode();
|
||||
post_data = {
|
||||
'message': message
|
||||
|
||||
Reference in New Issue
Block a user