Fixed Chat!
This commit is contained in:
@@ -34,7 +34,7 @@ function sendMessage() {
|
||||
|
||||
function addMessages(messages) {
|
||||
for(i in messages) {
|
||||
if (messages[i].origin == 2) {
|
||||
if (messages[i].destination == $(".destinationID").val()) {
|
||||
type = "chat-message-self";
|
||||
} else {
|
||||
type = "chat-message-other";
|
||||
|
||||
@@ -16,10 +16,6 @@
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.chat-left .friend-item {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.chat-right {
|
||||
width: calc(100% - 256px - 40px);
|
||||
height: calc(100% - 80px);
|
||||
|
||||
Reference in New Issue
Block a user