Vectors: fix force_chunk_delimiter value init

This commit is contained in:
Cohee 2024-10-16 07:53:53 +00:00
parent e01a243ce5
commit ba0d6bfa26
1 changed files with 1 additions and 1 deletions

View File

@ -1530,7 +1530,7 @@ jQuery(async () => {
saveSettingsDebounced();
});
$('#vectors_force_chunk_delimiter').prop('checked', settings.force_chunk_delimiter).on('input', () => {
$('#vectors_force_chunk_delimiter').val(settings.force_chunk_delimiter).on('input', () => {
settings.force_chunk_delimiter = String($('#vectors_force_chunk_delimiter').val());
Object.assign(extension_settings.vectors, settings);
saveSettingsDebounced();