Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

invite-user-modal: Update invitate expiration text once post render.

Lauryn Menard8e3317d15a04
diff --git a/web/src/invite.ts b/web/src/invite.ts
index 549f1813d94..689584ace4b 100644
--- a/web/src/invite.ts
+++ b/web/src/invite.ts
@@ -433,8 +433,6 @@ function open_invite_user_modal(e: JQuery.ClickEvent<Document, undefined>): void
set_expires_on_text();
});
- $("#expires_on").text(valid_to(Number.parseFloat($expires_in.val()!)));
-
$("#custom-expiration-time-input").on("keydown", (e) => {
if (e.key === "Enter") {
e.preventDefault();