mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
eslint: Avoid @typescript-eslint/no-deprecated for jQuery ‘on’.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
2dce73ecfa
commit
b7e02436b8
@@ -599,7 +599,10 @@ function update_profile_fields_checkboxes(): void {
|
||||
);
|
||||
}
|
||||
|
||||
function toggle_display_in_profile_summary_profile_field(this: HTMLInputElement): void {
|
||||
function toggle_display_in_profile_summary_profile_field(
|
||||
this: HTMLInputElement,
|
||||
_event: JQuery.Event,
|
||||
): void {
|
||||
const field_id = Number.parseInt($(this).attr("data-profile-field-id")!, 10);
|
||||
|
||||
const data = {
|
||||
@@ -615,7 +618,7 @@ function toggle_display_in_profile_summary_profile_field(this: HTMLInputElement)
|
||||
);
|
||||
}
|
||||
|
||||
function toggle_required(this: HTMLInputElement): void {
|
||||
function toggle_required(this: HTMLInputElement, _event: JQuery.Event): void {
|
||||
const field_id = Number.parseInt($(this).attr("data-profile-field-id")!, 10);
|
||||
|
||||
const data = {
|
||||
|
||||
Reference in New Issue
Block a user