diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-18 09:59:47 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-18 10:07:16 +0100 |
commit | f65176564fad5750441e73a158e95a61eccfb669 (patch) | |
tree | 4a70b21fb5c872dafe3b5a11197561deca3e6e36 /webclient/room | |
parent | Disabled image upload UIs (diff) | |
download | synapse-f65176564fad5750441e73a158e95a61eccfb669.tar.xz |
webclient: Tweak namespace of auto-complete directive. ng- should really only be used for official ng directives.
Diffstat (limited to '')
-rw-r--r-- | webclient/room/room-controller.js | 2 | ||||
-rw-r--r-- | 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 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> |