subs: Redesign the rows of the #subscriptions table.

This commit is contained in:
Tim Abbott
2016-10-28 16:58:22 -07:00
parent e6ac8c3543
commit 368b585980
7 changed files with 151 additions and 46 deletions

View File

@@ -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);