Make sure to store raw DOM elements, not jQuery objects, in _rows

(imported from commit ccf85bfd514b5b143c1021d4a186f1448abc700d)
This commit is contained in:
Leo Franchi 2014-03-13 11:38:05 -04:00
parent 163d93c15b
commit ef81999f3f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}