|
|
|
@ -232,7 +232,7 @@ window.addEventListener('load', function(){
@@ -232,7 +232,7 @@ window.addEventListener('load', function(){
|
|
|
|
|
document.getElementById("chatInput").addEventListener('keyup', function(){ |
|
|
|
|
var msg = this.value.trim(); |
|
|
|
|
|
|
|
|
|
//if user is typing and appointment is yet to end
|
|
|
|
|
//if user is typing
|
|
|
|
|
if(msg){ |
|
|
|
|
wsChat.send(JSON.stringify({ |
|
|
|
|
action: 'typingStatus', |
|
|
|
@ -1102,4 +1102,4 @@ function getRoom(){
@@ -1102,4 +1102,4 @@ function getRoom(){
|
|
|
|
|
else{ |
|
|
|
|
return ""; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|