aboutsummaryrefslogtreecommitdiff
path: root/static/js
diff options
context:
space:
mode:
authorBobby <[email protected]>2023-05-17 18:09:05 -0400
committerBobby <[email protected]>2023-05-17 18:09:05 -0400
commitdec69b9a6bdd2845d402280ded58fcafa2809c14 (patch)
treec13407163778e47e5aca685c2a6f636ab3e3e80b /static/js
parent2555e66652e1cb1c70cae50a04d1a8b45acb2f63 (diff)
downloadthatcomputerscientist-dec69b9a6bdd2845d402280ded58fcafa2809c14.tar.xz
thatcomputerscientist-dec69b9a6bdd2845d402280ded58fcafa2809c14.zip
Bug Fix: Receiving messages on live chat cleared your current typed messahe"
Diffstat (limited to 'static/js')
-rw-r--r--static/js/chat.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/static/js/chat.js b/static/js/chat.js
index 45486286..d5e8640c 100644
--- a/static/js/chat.js
+++ b/static/js/chat.js
@@ -16,7 +16,6 @@ $(document).ready(function(){
}
$('#messages').append(messageElement);
$('#messages').animate({scrollTop: $('#messages').prop("scrollHeight")}, 100);
- $('#chatbox-input').val("");
}
var protocol = window.location.protocol === 'https:' ? 'wss://' : 'ws://';