js: Read zid with rows.id.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-02-11 22:31:25 -08:00
committed by Tim Abbott
parent 8892f463a8
commit 2834b051d2
4 changed files with 6 additions and 5 deletions

View File

@@ -500,7 +500,7 @@ MessageListView.prototype = {
_put_row: function (row) {
// row is a jQuery object wrapping one message row
if (row.hasClass('message_row')) {
this._rows[row.attr('zid')] = row;
this._rows[rows.id(row)] = row;
}
},