stream_create: Fix crash on stream creation error.

Commit a9ca5f603b (#15863) incorrectly
translated this; stream_name_error is not a jQuery object.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-05-31 17:15:29 -07:00 committed by Tim Abbott
parent ddcd69cb41
commit f2d0ae3255
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ function create_stream() {
// error text directly rather than turning it into
// "Error creating stream"?
stream_name_error.report_already_exists(stream_name);
stream_name_error.trigger("select");
stream_name_error.select();
}
ui_report.error(