From df51b8f61319fa2f11b6848e8d128fbccb96d269 Mon Sep 17 00:00:00 2001 From: Irene Edria <ireneedriadr@gmail.com> Date: Thu, 23 Nov 2017 16:56:05 +0700 Subject: [PATCH] add scope --- TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat_driver.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat_driver.jsp b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat_driver.jsp index f7449b1..d276b75 100644 --- a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat_driver.jsp +++ b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat_driver.jsp @@ -74,7 +74,7 @@ if ($scope.chatText.length !== 0) { $scope.chatList.push({ from: 'me', - text: this.chatText + text: $scope.chatText }); } -- GitLab