mirror of https://github.com/zulip/zulip.git
frontend: Add perfectScrollbar to left sidebar of manage subs overlay.
Tweaked by tabbott to use a more precise selector.
This commit is contained in:
parent
5f7e23e8ef
commit
8ae263bf15
|
@ -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_name_match_stream_ids.sort(sort_by_stream_name);
|
||||||
exports.stream_description_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,
|
on_close: exports.close,
|
||||||
});
|
});
|
||||||
exports.change_state(hash);
|
exports.change_state(hash);
|
||||||
|
|
||||||
|
ui.set_up_scrollbar($("#subscription_overlay .streams-list"));
|
||||||
|
|
||||||
});
|
});
|
||||||
if (!get_active_data().id) {
|
if (!get_active_data().id) {
|
||||||
$('#search_stream_name').focus();
|
$('#search_stream_name').focus();
|
||||||
|
|
Loading…
Reference in New Issue