- ai config ranges more compact

- fixed misuse of range-block-range class on text areas
This commit is contained in:
RossAscends
2023-04-12 14:58:00 +09:00
parent 391dc4e31c
commit 48e4e408a4
6 changed files with 211 additions and 208 deletions

View File

@ -103,7 +103,7 @@ const sliders = [
name: "rep_pen_range",
sliderId: "#rep_pen_range",
counterId: "#rep_pen_range_counter",
format: (val) => val + " Tokens",
format: (val) => val,
setValue: (val) => { kai_settings.rep_pen_range = Number(val); },
},
{
@ -161,7 +161,7 @@ $(document).ready(function () {
});
});
$('#single_line').on("input", function() {
$('#single_line').on("input", function () {
const value = $(this).prop('checked');
kai_settings.single_line = value;
saveSettingsDebounced();