mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
dropdown-list-widget: Remove dropdown-list-body class and reference.
Removes the "dropdown-list-body" class and references as it is no
longer used in the new DropdownWidget. The previous uses of the
class were removed in commit 875d564f2d.
This commit is contained in:
committed by
Tim Abbott
parent
d24a689e9e
commit
225be0bb97
@@ -302,11 +302,8 @@ export function initialize_kitchen_sink_stuff() {
|
||||
|
||||
// Ignore wheel events in the compose area which weren't already handled above.
|
||||
$("#compose").on("wheel", (e) => {
|
||||
// Except for the stream select dropdown and compose banners, which still needs scroll events.
|
||||
if (
|
||||
$(e.target).closest(".dropdown-list-body").length ||
|
||||
$(e.target).closest("#compose_banners").length
|
||||
) {
|
||||
// Except for the compose banners, which still need scroll events.
|
||||
if ($(e.target).closest("#compose_banners").length) {
|
||||
return;
|
||||
}
|
||||
e.stopPropagation();
|
||||
|
||||
Reference in New Issue
Block a user