From 8ae263bf15f52d230e5ed9b451b662d801ec0220 Mon Sep 17 00:00:00 2001 From: Vaida Plankyte Date: Fri, 28 Jul 2017 12:26:19 +0100 Subject: [PATCH] frontend: Add perfectScrollbar to left sidebar of manage subs overlay. Tweaked by tabbott to use a more precise selector. --- static/js/subs.js | 5 +++++ 1 file changed, 5 insertions(+) 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();