From f65176564fad5750441e73a158e95a61eccfb669 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 18 Aug 2014 09:59:47 +0100 Subject: [PATCH] webclient: Tweak namespace of auto-complete directive. ng- should really only be used for official ng directives. --- webclient/room/room-controller.js | 2 +- webclient/room/room.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js index 5ea01d764..b859f3d7e 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 eba088188..106a9dfd1 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -59,7 +59,7 @@ {{ state.user_id }} - +