mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Scroll down on submit
This commit is contained in:
@ -850,6 +850,10 @@ $(document).ready(function(){
|
||||
}, 5);
|
||||
}
|
||||
newly_loaded = false;
|
||||
} else if(msg.cmd == "scrolldown") {
|
||||
setTimeout(function () {
|
||||
$('#gamescreen').animate({scrollTop: $('#gamescreen').prop('scrollHeight')}, 1000);
|
||||
}, 5);
|
||||
} else if(msg.cmd == "setgamestate") {
|
||||
// Enable or Disable buttons
|
||||
if(msg.data == "ready") {
|
||||
|
Reference in New Issue
Block a user