mirror of https://github.com/zulip/zulip.git
settings_components: Fix HTMLSelectOneElement selector.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
40440248e6
commit
d4841bbeff
|
@ -415,7 +415,7 @@ function read_select_field_data_from_form(
|
|||
function read_external_account_field_data($profile_field_form: JQuery): FieldData {
|
||||
const field_data: FieldData = {};
|
||||
field_data.subtype = $profile_field_form
|
||||
.find<HTMLSelectOneElement>("select[name=external_acc_field_type]")
|
||||
.find<HTMLSelectOneElement>("select:not([multiple])[name=external_acc_field_type]")
|
||||
.val()!;
|
||||
if (field_data.subtype === "custom") {
|
||||
field_data.url_pattern = $profile_field_form
|
||||
|
|
Loading…
Reference in New Issue