Kobold sampler restyle

This commit is contained in:
RossAscends
2023-11-08 23:24:28 +09:00
parent 8f812d6a19
commit a5fd33d08a
5 changed files with 199 additions and 318 deletions

View File

@ -759,9 +759,9 @@ jQuery(function () {
// Update the selected preset to something appropriate
const default_preset = default_presets[nai_settings.model_novel];
$(`#settings_perset_novel`).val(novelai_setting_names[default_preset]);
$(`#settings_perset_novel option[value=${novelai_setting_names[default_preset]}]`).attr("selected", "true")
$(`#settings_perset_novel`).trigger("change");
$(`#settings_preset_novel`).val(novelai_setting_names[default_preset]);
$(`#settings_preset_novel option[value=${novelai_setting_names[default_preset]}]`).attr("selected", "true")
$(`#settings_preset_novel`).trigger("change");
});
$("#nai_prefix").on('change', function () {