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. |
||
|---|---|---|
| .. | ||
| room-controller.js | ||
| room-directive.js | ||
| room.html | ||