mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
web: Avoid slow jQuery :input, :checkbox, :radio selectors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
7aa1763d73
commit
ff2a7b775a
@@ -153,7 +153,7 @@ export function launch(conf: WidgetConfig): void {
|
||||
}
|
||||
|
||||
if (conf.update_submit_disabled_state_on_change) {
|
||||
const $inputs = $dialog.find(".modal__content :input");
|
||||
const $inputs = $dialog.find(".modal__content").find("input,select,textarea,button");
|
||||
|
||||
const original_values = get_current_values($inputs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user