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)});
|
chunks.sort(function(e) {parseInt(e)});
|
||||||
for(var i = 0; i < chunks.length; i++) {
|
for(var i = 0; i < chunks.length; i++) {
|
||||||
var original_chunk = document.getElementById("n" + chunks[i]);
|
var original_chunk = document.getElementById("n" + chunks[i]);
|
||||||
original_chunk.innerText = footer + original_chunk.innerText;
|
|
||||||
footer = "";
|
|
||||||
var chunk = original_chunk.nextSibling;
|
var chunk = original_chunk.nextSibling;
|
||||||
while(chunk) {
|
while(chunk) {
|
||||||
if(chunk.tagName === "CHUNK") {
|
if(chunk.tagName === "CHUNK") {
|
||||||
|
|
Loading…
Reference in New Issue