diff --git a/static/js/subs.js b/static/js/subs.js index b6d6a6e6f0..65ea8e6128 100644 --- a/static/js/subs.js +++ b/static/js/subs.js @@ -286,6 +286,8 @@ exports.filter_table = function (query) { } }); + ui.update_scrollbar($("#subscription_overlay .streams-list")); + exports.stream_name_match_stream_ids.sort(sort_by_stream_name); exports.stream_description_match_stream_ids.sort(sort_by_stream_name); @@ -463,6 +465,9 @@ exports.launch = function (hash) { on_close: exports.close, }); exports.change_state(hash); + + ui.set_up_scrollbar($("#subscription_overlay .streams-list")); + }); if (!get_active_data().id) { $('#search_stream_name').focus();