diff options
author | Matthew Hodgson <matthew@matrix.org> | 2014-09-20 00:49:45 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2014-09-20 00:49:45 +0100 |
commit | 9fda37158a00fae8ecb12940395ddcf92e45ae2d (patch) | |
tree | 9c3dbf9ea2f1f5fd143fd889f068caba3a4941d4 /webclient/room/room.html | |
parent | Notify a callee that their browser doesn't support VoIP too. (diff) | |
download | synapse-9fda37158a00fae8ecb12940395ddcf92e45ae2d.tar.xz |
remove the ng-model attribute from mainInput textarea to stop the digest being run every time you press a key (SYWEB-4)
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r-- | webclient/room/room.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index d12f79cd21..db3aa193c5 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -157,7 +157,7 @@ {{ state.user_id }} </td> <td width="*"> - <textarea id="mainInput" rows="1" ng-model="textInput" ng-enter="send()" + <textarea id="mainInput" rows="1" ng-enter="send()" ng-disabled="state.permission_denied" ng-keydown="(38 === $event.which) ? history.goUp($event) : ((40 === $event.which) ? history.goDown($event) : 0)" ng-focus="true" autocomplete="off" tab-complete/> |