Don't send msg to chatbox when scrolled back
This commit is contained in:
@@ -46,9 +46,11 @@ function unBindChatBoxKeys() {
|
||||
// ===========================================================================
|
||||
|
||||
function receiveChatBoxMessageFromServer(messageString, colour) {
|
||||
message(messageString, colour);
|
||||
if(bottomMessageIndex => chatBoxHistory.length-1) {
|
||||
message(messageString, colour);
|
||||
bottomMessageIndex = chatBoxHistory.length-1;
|
||||
}
|
||||
addToChatBoxHistory(messageString, colour);
|
||||
bottomMessageIndex = chatBoxHistory.length-1;
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user