mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix author's note slider
This commit is contained in:
@ -2139,10 +2139,10 @@ $(document).ready(function(){
|
|||||||
} else if(msg.cmd == "updateanotedepth") {
|
} else if(msg.cmd == "updateanotedepth") {
|
||||||
// Send current Author's Note depth value to input
|
// Send current Author's Note depth value to input
|
||||||
anote_slider.val(parseInt(msg.data));
|
anote_slider.val(parseInt(msg.data));
|
||||||
anote_labelcur.val(msg.data);
|
anote_labelcur.html(msg.data);
|
||||||
} else if(msg.cmd == "setlabelanotedepth") {
|
} else if(msg.cmd == "setlabelanotedepth") {
|
||||||
// Update setting label with value from server
|
// Update setting label with value from server
|
||||||
anote_labelcur.val(msg.data);
|
anote_labelcur.html(msg.data);
|
||||||
} else if(msg.cmd == "getanote") {
|
} else if(msg.cmd == "getanote") {
|
||||||
// Request contents of Author's Note field
|
// Request contents of Author's Note field
|
||||||
var txt = anote_input.val();
|
var txt = anote_input.val();
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<script src="static/bootstrap.min.js"></script>
|
<script src="static/bootstrap.min.js"></script>
|
||||||
<script src="static/bootstrap-toggle.min.js"></script>
|
<script src="static/bootstrap-toggle.min.js"></script>
|
||||||
<script src="static/rangy-core.min.js"></script>
|
<script src="static/rangy-core.min.js"></script>
|
||||||
<script src="static/application.js?ver=1.17c"></script>
|
<script src="static/application.js?ver=1.17d"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<input type="file" id="remote-save-select" accept="application/json" style="display:none">
|
<input type="file" id="remote-save-select" accept="application/json" style="display:none">
|
||||||
|
Reference in New Issue
Block a user