Slider fixes

This commit is contained in:
Henk 2022-09-21 17:29:44 +02:00
parent d1d23b5383
commit a6298ee6df

View File

@ -2847,17 +2847,17 @@ $(document).ready(function(){
chat_name.val(msg.data);
} else if(msg.cmd == "setlabelnumseq") {
// Update setting label with value from server
$("#setnumseqcur").html(msg.data);
$("#setnumseqcur").val(msg.data);
} else if(msg.cmd == "updatenumseq") {
// Send current max tokens value to input
$("#setnumseqcur").html(msg.data);
$("#setnumseqcur").val(msg.data);
$("#setnumseq").val(parseInt(msg.data)).trigger("change");
} else if(msg.cmd == "setlabelwidepth") {
// Update setting label with value from server
$("#setwidepthcur").html(msg.data);
$("#setwidepthcur").val(msg.data);
} else if(msg.cmd == "updatewidepth") {
// Send current max tokens value to input
$("#setwidepthcur").html(msg.data);
$("#setwidepthcur").val(msg.data);
$("#setwidepth").val(parseInt(msg.data)).trigger("change");
} else if(msg.cmd == "updateuseprompt") {
// Update toggle state