mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Set the zid of the FRB parent to be a valid row id
(imported from commit 31c559270a1f848e11b45f5ebeea68eaf7385ce4)
This commit is contained in:
committed by
Jessica McKellar
parent
d9bfef4848
commit
0dbcdb94af
@@ -599,7 +599,7 @@ function replace_floating_recipient_bar(desired_label) {
|
|||||||
new_label.find(".message_header").replaceWith(header.clone());
|
new_label.find(".message_header").replaceWith(header.clone());
|
||||||
other_label.css('display', 'none');
|
other_label.css('display', 'none');
|
||||||
new_label.css('display', 'block');
|
new_label.css('display', 'block');
|
||||||
new_label.attr("zid", rows.id(desired_label));
|
new_label.attr("zid", rows.id(rows.first_message_in_group(desired_label)));
|
||||||
|
|
||||||
new_label.toggleClass('faded', desired_label.hasClass('faded'));
|
new_label.toggleClass('faded', desired_label.hasClass('faded'));
|
||||||
old_label = desired_label;
|
old_label = desired_label;
|
||||||
|
|||||||
Reference in New Issue
Block a user