From ba0d6bfa2693c4f10db09a448699e4ae67ee8329 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 16 Oct 2024 07:53:53 +0000 Subject: [PATCH] Vectors: fix force_chunk_delimiter value init --- public/scripts/extensions/vectors/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/extensions/vectors/index.js b/public/scripts/extensions/vectors/index.js index eb989556e..89a7f8c6d 100644 --- a/public/scripts/extensions/vectors/index.js +++ b/public/scripts/extensions/vectors/index.js @@ -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();