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.

password: Add cancel debounce feature.

Maneesh Shukla74d7f1192398
diff --git a/web/src/portico/signup.ts b/web/src/portico/signup.ts
index f70f0bbb3bc..f7eb7ddf950 100644
--- a/web/src/portico/signup.ts
+++ b/web/src/portico/signup.ts
@@ -35,6 +35,7 @@ $(() => {
if (password_value.length > 30) {
debounced_password_quality(password_value, $(this));
} else {
+ debounced_password_quality.cancel();
password_quality(password_value, $("#pw_strength .bar"), $(this));
}
});