Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
signup: Avoid jQuery sizzle extension :hidden.
Anders Kaseorg551c12a732b4
diff --git a/web/src/portico/signup.ts b/web/src/portico/signup.tsindex 1811054dc41..8dc2f8d4b4f 100644--- a/web/src/portico/signup.ts+++ b/web/src/portico/signup.ts@@ -101,7 +101,7 @@ $(() => {if ($(".help-inline:not(:empty)").length === 0) {// Find the first input field present in the form that is// not hidden and disabled and store it in a variable.- const $firstInputElement = $("input:not(:hidden, :disabled)").first();+ const $firstInputElement = $("input:not([type=hidden], :disabled)").first();// Focus on the first input field in the form.$firstInputElement.trigger("focus");// Override the automatic scroll to the focused