mirror of https://github.com/zulip/zulip.git
group popovers: Refactor setting up scrollbar.
Using a wheelspeed of 0.68 is fine as used throughtout Zulip.
This commit is contained in:
parent
9feae472f8
commit
1192111ce2
|
@ -197,11 +197,7 @@ function show_user_group_info_popover(element, group, message) {
|
|||
trigger: "manual",
|
||||
});
|
||||
elt.popover("show");
|
||||
$('.nav.nav-list.member-list').perfectScrollbar({
|
||||
suppressScrollX: true,
|
||||
useKeyboard: false,
|
||||
wheelSpeed: 0.5,
|
||||
});
|
||||
ui.set_up_scrollbar($('.group-info-popover .member-list'));
|
||||
current_message_info_popover_elem = elt;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue