refactor: Initialize stream list code in stream_list.js.

This code was in subs.js for historical reasons.
This commit is contained in:
Steve Howell
2019-03-22 16:26:51 +00:00
committed by Tim Abbott
parent d8e9975b9d
commit bfdce11c8f
4 changed files with 12 additions and 9 deletions

View File

@@ -280,7 +280,7 @@ run_test('zoom_in_and_zoom_out', () => {
f.call(elem(stream_li1));
f.call(elem(stream_li2));
};
stream_list.initialize();
stream_list.set_event_handlers();
stream_list.zoom_in_topics({stream_id: 42});
@@ -337,7 +337,7 @@ run_test('narrowing', () => {
assert(!$('<devel sidebar row html>').hasClass('active-filter'));
stream_list.initialize();
stream_list.set_event_handlers();
var filter;