mirror of https://github.com/zulip/zulip.git
Make sure to store raw DOM elements, not jQuery objects, in _rows
(imported from commit ccf85bfd514b5b143c1021d4a186f1448abc700d)
This commit is contained in:
parent
163d93c15b
commit
ef81999f3f
|
@ -635,7 +635,7 @@ MessageListView.prototype = {
|
|||
row.html(rendered_msg.html());
|
||||
|
||||
// Make sure to take this rendered row, not the element from the dom (which might not be the current list)
|
||||
this._rows[message.id] = row;
|
||||
this._rows[message.id] = row[0];
|
||||
if (was_selected) {
|
||||
this.list.select_id(message.id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue