mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Slider fixes
This commit is contained in:
@@ -2847,17 +2847,17 @@ $(document).ready(function(){
|
|||||||
chat_name.val(msg.data);
|
chat_name.val(msg.data);
|
||||||
} else if(msg.cmd == "setlabelnumseq") {
|
} else if(msg.cmd == "setlabelnumseq") {
|
||||||
// Update setting label with value from server
|
// Update setting label with value from server
|
||||||
$("#setnumseqcur").html(msg.data);
|
$("#setnumseqcur").val(msg.data);
|
||||||
} else if(msg.cmd == "updatenumseq") {
|
} else if(msg.cmd == "updatenumseq") {
|
||||||
// Send current max tokens value to input
|
// Send current max tokens value to input
|
||||||
$("#setnumseqcur").html(msg.data);
|
$("#setnumseqcur").val(msg.data);
|
||||||
$("#setnumseq").val(parseInt(msg.data)).trigger("change");
|
$("#setnumseq").val(parseInt(msg.data)).trigger("change");
|
||||||
} else if(msg.cmd == "setlabelwidepth") {
|
} else if(msg.cmd == "setlabelwidepth") {
|
||||||
// Update setting label with value from server
|
// Update setting label with value from server
|
||||||
$("#setwidepthcur").html(msg.data);
|
$("#setwidepthcur").val(msg.data);
|
||||||
} else if(msg.cmd == "updatewidepth") {
|
} else if(msg.cmd == "updatewidepth") {
|
||||||
// Send current max tokens value to input
|
// Send current max tokens value to input
|
||||||
$("#setwidepthcur").html(msg.data);
|
$("#setwidepthcur").val(msg.data);
|
||||||
$("#setwidepth").val(parseInt(msg.data)).trigger("change");
|
$("#setwidepth").val(parseInt(msg.data)).trigger("change");
|
||||||
} else if(msg.cmd == "updateuseprompt") {
|
} else if(msg.cmd == "updateuseprompt") {
|
||||||
// Update toggle state
|
// Update toggle state
|
||||||
|
Reference in New Issue
Block a user