diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-23 16:53:27 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-09-23 16:56:54 +0100 |
commit | a7420ff2b5b2880bded6d13b548607028113397f (patch) | |
tree | ea087718a08e7d8a7f6a49f6ca1267583a63d1c6 | |
parent | SYWEB-28: Fixed weird members list ordering: sort members on their last activ... (diff) | |
download | synapse-a7420ff2b5b2880bded6d13b548607028113397f.tar.xz |
Fix SYWEB-72 : Improve performance when typing.
Swapped ng-keydown to a directive, which does the same thing (check if up/down arrow then call history.goUp/goDown). This has *dramatically* improved performance when typing in rooms which have lots (>100) of messages loaded.
-rw-r--r-- | webclient/room/room-directive.js | 15 | ||||
-rw-r--r-- | webclient/room/room.html | 3 |
2 files changed, 16 insertions, 2 deletions
diff --git a/webclient/room/room-directive.js b/webclient/room/room-directive.js |