From ef81999f3fa7db89071fa984085107d0c2bc1e8b Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Thu, 13 Mar 2014 11:38:05 -0400 Subject: [PATCH] Make sure to store raw DOM elements, not jQuery objects, in _rows (imported from commit ccf85bfd514b5b143c1021d4a186f1448abc700d) --- static/js/message_list_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/message_list_view.js b/static/js/message_list_view.js index 88860152ae..f00e55ee3e 100644 --- a/static/js/message_list_view.js +++ b/static/js/message_list_view.js @@ -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); }