mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
dropdown_widget: Refactor to use Class.
This commit is contained in:
@@ -436,7 +436,7 @@ export function validation_error(error_type, stream_name) {
|
||||
$t({defaultMessage: "Error checking subscription."}),
|
||||
compose_banner.CLASSNAMES.subscription_error,
|
||||
$banner_container,
|
||||
$("#compose_select_recipient_widget"),
|
||||
$("#compose_select_recipient_widget_wrapper"),
|
||||
);
|
||||
return false;
|
||||
case "not-subscribed": {
|
||||
@@ -485,7 +485,7 @@ function validate_stream_message(scheduling_message) {
|
||||
$t({defaultMessage: "Please specify a stream."}),
|
||||
compose_banner.CLASSNAMES.missing_stream,
|
||||
$banner_container,
|
||||
$("#compose_select_recipient_widget"),
|
||||
$("#compose_select_recipient_widget_wrapper"),
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user