frontend: Add perfectScrollbar to left sidebar of manage subs overlay.

Tweaked by tabbott to use a more precise selector.
This commit is contained in:
Vaida Plankyte 2017-07-28 12:26:19 +01:00 committed by Tim Abbott
parent 5f7e23e8ef
commit 8ae263bf15
1 changed files with 5 additions and 0 deletions

View File

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