Change handleOptionalSelect name

4d483e7814e99c405d3efbab10d23239602ab5d1

Crow <bismuthglass@protonmail.com>

1 files changed, +7 -7Ignore whitespace
public/scripts/world-info.js+7 -7
@@ -3358,7 +3358,7 @@ export async function getWorldEntry(name, data, entry) {
33583358 });
33593359 useGroupScoringSelect.val((entry.useGroupScoring === null || entry.useGroupScoring === undefined) ? 'null' : entry.useGroupScoring ? 'true' : 'false').trigger('input');
33603360
33613361 function handleOptionalSelecthandleMatchCheckbox(fieldName) {
33623362 const key = originalWIDataKeyMap[fieldName];
33633363 const checkBoxElem = template.find(`input[type="checkbox"][name="${fieldName}"]`);
33643364 checkBoxElem.data('uid', entry.uid);
@@ -3373,12 +3373,12 @@ export async function getWorldEntry(name, data, entry) {
33733373 checkBoxElem.prop('checked', !!entry[fieldName]).trigger('input');
33743374 }
33753375
33763376 handleOptionalSelecthandleMatchCheckbox('matchPersonaDescription');
33773377 handleOptionalSelecthandleMatchCheckbox('matchCharacterDescription');
33783378 handleOptionalSelecthandleMatchCheckbox('matchCharacterPersonality');
33793379 handleOptionalSelecthandleMatchCheckbox('matchCharacterDepthPrompt');
33803380 handleOptionalSelecthandleMatchCheckbox('matchScenario');
33813381 handleOptionalSelecthandleMatchCheckbox('matchCreatorNotes');
33823382
33833383 // automation id
33843384 const automationIdInput = template.find('input[name="automationId"]');