mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
eslint: Fix unicorn/require-array-join-separator.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
7fd1e33d1b
commit
656344064a
@@ -770,14 +770,14 @@ function validate_private_message() {
|
||||
|
||||
let context = {};
|
||||
if (invalid_recipients.length === 1) {
|
||||
context = {recipient: invalid_recipients.join()};
|
||||
context = {recipient: invalid_recipients.join(",")};
|
||||
compose_error(
|
||||
$t_html({defaultMessage: "The recipient {recipient} is not valid"}, context),
|
||||
$("#private_message_recipient"),
|
||||
);
|
||||
return false;
|
||||
} else if (invalid_recipients.length > 1) {
|
||||
context = {recipients: invalid_recipients.join()};
|
||||
context = {recipients: invalid_recipients.join(",")};
|
||||
compose_error(
|
||||
$t_html({defaultMessage: "The recipients {recipients} are not valid"}, context),
|
||||
$("#private_message_recipient"),
|
||||
|
||||
Reference in New Issue
Block a user