mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Added favicon swapping mechanism on aibusy
This commit is contained in:
@ -2140,14 +2140,17 @@ $(document).ready(function(){
|
||||
enableButtons([button_actmem, button_actwi, button_actback, button_actfwd, button_actretry]);
|
||||
hideWaitAnimation();
|
||||
gamestate = "ready";
|
||||
favicon.stop_swap();
|
||||
} else if(msg.data == "wait") {
|
||||
gamestate = "wait";
|
||||
disableSendBtn();
|
||||
disableButtons([button_actmem, button_actwi, button_actback, button_actfwd, button_actretry]);
|
||||
showWaitAnimation();
|
||||
favicon.start_swap();
|
||||
} else if(msg.data == "start") {
|
||||
setStartState();
|
||||
gamestate = "ready";
|
||||
favicon.stop_swap();
|
||||
}
|
||||
} else if(msg.cmd == "allowsp") {
|
||||
allowsp = !!msg.data;
|
||||
|
Reference in New Issue
Block a user