Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

message_view_header: Color web public stream globe icon.

YashRE42de663184f3c1
diff --git a/static/js/message_view_header.js b/static/js/message_view_header.js
index 7c1cc5b9b17..ac7cfd3dd22 100644
--- a/static/js/message_view_header.js
+++ b/static/js/message_view_header.js
@@ -73,7 +73,8 @@ export function colorize_message_view_header() {
if (filter === undefined || !filter._sub) {
return;
}
- $("#message_view_header .stream > .fa").css("color", filter._sub.color);
+ // selecting i instead of .fa because web public streams have custom icon.
+ $("#message_view_header a.stream i").css("color", filter._sub.color);
}
function append_and_display_title_area(message_view_header_data) {