diff --git a/client/js/group-chat-controller.js b/client/js/group-chat-controller.js index c4f68dc..b1fbcb0 100644 --- a/client/js/group-chat-controller.js +++ b/client/js/group-chat-controller.js @@ -57,9 +57,8 @@ userAvatar: $scope.contactAuthorAvatar, groupID: $scope.groupID }; - emitAction(action); appendChat(action); - + emitAction(action); }; $scope.newCard = function (cardID) { @@ -73,9 +72,8 @@ userAvatar: $scope.contactAuthorAvatar, groupID: $scope.groupID }; - emitAction(action); appendChat(action); - + emitAction(action); }; $scope.interject = function (id) { @@ -101,8 +99,8 @@ userAvatar: $scope.contactAuthorAvatar, groupID: $scope.groupID }; - emitAction(action); appendChat(action); + emitAction(action); }; /************************END: Button Handler Code************************/ @@ -218,8 +216,8 @@ groupID: $scope.groupID }; ; - emitAction(action); appendChat(action) + emitAction(action); } } }