mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
compose: Pass a container to which the banner should be applied.
This fixes banners related to message editing incorrectly appearing next to the compose box. Fixes: #25230.
This commit is contained in:
committed by
Tim Abbott
parent
c70910b5dc
commit
6dc10f8696
@@ -121,6 +121,7 @@ export function check_stream_posting_policy_for_compose_box(stream_name) {
|
||||
defaultMessage: "You do not have permission to post in this stream.",
|
||||
}),
|
||||
compose_banner.CLASSNAMES.no_post_permissions,
|
||||
$("#compose_banners"),
|
||||
);
|
||||
} else {
|
||||
$(".compose_right_float_container").removeClass("disabled-compose-send-button-container");
|
||||
|
||||
Reference in New Issue
Block a user