mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
subs: Redesign the rows of the #subscriptions table.
This commit is contained in:
@@ -93,7 +93,7 @@ exports.update_stream_color = function (sub, stream_name, color, opts) {
|
||||
sub.color = color;
|
||||
var id = parseInt(sub.stream_id, 10);
|
||||
// The swatch in the subscription row header.
|
||||
$(".stream-row[data-stream-id='" + id + "'] .color_swatch").css('background-color', color);
|
||||
$(".stream-row[data-stream-id='" + id + "'] .icon").css('background-color', color);
|
||||
// The swatch in the color picker.
|
||||
exports.set_colorpicker_color($(".stream-row[data-stream-id='" + id + "'] .colorpicker"), color);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user