diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-03 14:22:09 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-03 14:22:09 +0000 |
commit | f4e50079dea15f25a6d1ce03c5bf9f0608ecd45d (patch) | |
tree | 7b42ed144c68152c04db9dbbdf068c3c3431abe9 /webclient/room/room.html | |
parent | Fix bug which prevented room name invites appearing correctly. (diff) | |
download | synapse-f4e50079dea15f25a6d1ce03c5bf9f0608ecd45d.tar.xz |
Fix bug which prevented pagination from bumping the list down, causing infini-pagination.
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 1cec8ac70b..8b5be66cf5 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -124,7 +124,7 @@ ng-style="{ 'visibility': state.messages_visibility }" keep-scroll> <table id="messageTable" infinite-scroll="paginateMore()"> - <tr ng-repeat="msg in room.events track by $index" + <tr ng-repeat="msg in room.events" ng-class="(room.events[$index + 1].user_id !== msg.user_id ? 'differentUser' : '') + (msg.user_id === state.user_id ? ' mine' : '')" scroll-item> <td class="leftBlock"> <div class="sender" ng-hide="room.events[$index - 1].user_id === msg.user_id"> {{ msg.user_id | mUserDisplayName: room_id }}</div> |