mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-17 12:10:49 +01:00
Fix the cleanupChunkWhitespace function
This commit is contained in:
parent
ad9ec6eaba
commit
d55b4d9bbc
@ -1757,8 +1757,6 @@ function cleanupChunkWhitespace() {
|
||||
chunks.sort(function(e) {parseInt(e)});
|
||||
for(var i = 0; i < chunks.length; i++) {
|
||||
var original_chunk = document.getElementById("n" + chunks[i]);
|
||||
original_chunk.innerText = footer + original_chunk.innerText;
|
||||
footer = "";
|
||||
var chunk = original_chunk.nextSibling;
|
||||
while(chunk) {
|
||||
if(chunk.tagName === "CHUNK") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user