mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix for doing a ctrl+a when in the game area but not on any chunk not syncing
This commit is contained in:
@@ -3097,6 +3097,7 @@ function gametextwatcher(records) {
|
||||
game_text.append(chunk);
|
||||
}
|
||||
chunk.classList.add("dirty");
|
||||
did_deletes = true;
|
||||
} else {
|
||||
//For some reason we've deleted a chunk but it still exists in the DOM. Something is wrong here
|
||||
//Seems to loose the events on the item, but otherwise is OK. DEPLOY HACK!!!
|
||||
@@ -3128,6 +3129,9 @@ function gametextwatcher(records) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (did_deletes) {
|
||||
savegametextchanges();
|
||||
}
|
||||
}
|
||||
|
||||
function savegametextchanges() {
|
||||
|
Reference in New Issue
Block a user