stream_list: Add divider before dormant streams in list.

Fixes #4309.
This commit is contained in:
Tim Abbott 2017-04-19 09:18:29 -07:00
parent 7962710132
commit 326cf9a73e
1 changed files with 3 additions and 1 deletions

View File

@ -115,7 +115,9 @@ exports.build_stream_list = function () {
_.each(stream_groups.normal_streams, add_sidebar_li);
// TODO: Add a divider here if there are dormant streams.
if (stream_groups.dormant_streams.length > 0) {
elems.push($('<hr class="stream-split">').get(0));
}
_.each(stream_groups.dormant_streams, add_sidebar_li);