mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
Get message row safely in the presence of local ids
(imported from commit 4f8c4742206a9fcba4eb19653152aeb4919159bd)
This commit is contained in:
committed by
Steve Howell
parent
dfa45a3689
commit
f45f0b1df6
@@ -1213,7 +1213,7 @@ $(function () {
|
||||
|
||||
if (event.then_scroll) {
|
||||
if (row.length === 0) {
|
||||
var row_from_dom = $('.message_row[zid=' + event.id + ']');
|
||||
var row_from_dom = current_msg_list.get_row(event.id);
|
||||
blueslip.debug("message_selected missing selected row", {
|
||||
previously_selected: event.previously_selected,
|
||||
selected_id: event.id,
|
||||
|
||||
Reference in New Issue
Block a user