mirror of https://github.com/zulip/zulip.git
When you change a stream color, also update the floating recipient bar if applicable.
(imported from commit 121f48887a18f22ec173ad5e540d040859f2bf62)
This commit is contained in:
parent
2b10ccf03a
commit
20a43706f4
|
@ -108,7 +108,7 @@ function update_table_stream_color(table, stream_name, color) {
|
|||
.addClass(color_class);
|
||||
}
|
||||
|
||||
$.each(table.find(".stream_label"), function () {
|
||||
$.each($("#floating_recipient_bar").add(table).find(".stream_label"), function () {
|
||||
if ($(this).text() === stream_name) {
|
||||
fixup($(this).parent("td").parent("tr").prev("tr").nextUntil(".bookend_tr")
|
||||
.children(".messagebox_colorblock,.message_header_colorblock"));
|
||||
|
|
Loading…
Reference in New Issue