summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--webclient/room/room-controller.js2
-rw-r--r--webclient/room/room.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js
index 5ea01d7641..b859f3d7e8 100644
--- a/webclient/room/room-controller.js
+++ b/webclient/room/room-controller.js
@@ -16,7 +16,7 @@ limitations under the License.
 
 angular.module('RoomController', ['ngSanitize'])
 
-.directive('ngAutoComplete', ['$timeout', function ($timeout) {
+.directive('autoComplete', ['$timeout', function ($timeout) {
     return function (scope, element, attrs) {
         element.bind("keydown keypress", function (event) {
             // console.log("event: " + event.which);
diff --git a/webclient/room/room.html b/webclient/room/room.html
index eba0881880..106a9dfd15 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -59,7 +59,7 @@
                         {{ state.user_id }} 
                     </td>
                     <td width="*" style="min-width: 100px">
-                        <input id="mainInput" ng-model="textInput" ng-enter="send()" ng-focus="true" ng-auto-complete/>
+                        <input id="mainInput" ng-model="textInput" ng-enter="send()" ng-focus="true" auto-complete/>
                     </td>
                     <td width="1">
                         <button ng-click="send()">Send</button>