Chat messages and groups are now live.

This commit is contained in:
Lars van Hijfte
2017-01-26 10:26:40 +01:00
parent 30d403ae7b
commit 95ee91748f
12 changed files with 209 additions and 137 deletions

View File

@@ -18,10 +18,7 @@ function placeFriendButtons() {
}
$buttonContainer.children().click(function() {
$.post("API/editFriendship.php", { usr: userID, action: this.value })
.done(function() {
placeFriendButtons();
});
editFriendship(userID, this.value);
});
});
}