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.

billing helpers: Add missing $ prefix to jQuery object parameter.

Anders Kaseorg26fd6be88f9c
diff --git a/web/src/billing/helpers.ts b/web/src/billing/helpers.ts
index 863acd5dae6..442954fb684 100644
--- a/web/src/billing/helpers.ts
+++ b/web/src/billing/helpers.ts
@@ -157,8 +157,8 @@ export function update_discount_details(
$("#sponsorship-discount-details").text(discount_notice);
}
-export function is_valid_input(elem: JQuery<HTMLFormElement>): boolean {
- return elem[0].checkValidity();
+export function is_valid_input($elem: JQuery<HTMLFormElement>): boolean {
+ return $elem[0].checkValidity();
}
export function redirect_to_billing_with_successful_upgrade(billing_base_url: string): void {