mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 04:12:02 +00:00
settings_components: Fix HTMLSelectOneElement selector.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
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
|
||||
|
||||
Reference in New Issue
Block a user