mirror of https://github.com/zulip/zulip.git
refactor: Update on-change event to use custom-expiration-time-input.
Replaces custom-invite-expiration-time with custom-expiration-time-input and custom-expiration-time-unit in the on-change event.
This commit is contained in:
parent
a34577f82e
commit
b149d5fb70
|
@ -439,7 +439,7 @@ function open_invite_user_modal(e: JQuery.ClickEvent<Document, undefined>): void
|
|||
}
|
||||
});
|
||||
|
||||
$("#custom-invite-expiration-time").on("change", () => {
|
||||
$("#custom-expiration-time-input, #custom-expiration-time-unit").on("change", () => {
|
||||
custom_expiration_time_input = util.check_time_input(
|
||||
$<HTMLInputElement>("input#custom-expiration-time-input").val()!,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue