eslint: Fix new-cap errors.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-12-10 19:26:23 -08:00
parent f84fd0839d
commit 2c5e9f65f8
18 changed files with 39 additions and 46 deletions

View File

@@ -425,7 +425,7 @@ exports.do_post_send_tasks = function () {
exports.clear_preview_area();
// TODO: Do we want to fire the event even if the send failed due
// to a server-side error?
$(document).trigger($.Event("compose_finished.zulip"));
$(document).trigger("compose_finished.zulip");
};
exports.update_email = function (user_id, new_email) {