Remove unneeded console.log()

This commit is contained in:
Gnome Ann 2021-09-27 22:47:27 -04:00
parent cc207109bc
commit b39f12b60b
1 changed files with 0 additions and 2 deletions

View File

@ -846,7 +846,6 @@ function applyChunkDeltas(nodes) {
for(var i = 0; i < chunks.length; i++) { for(var i = 0; i < chunks.length; i++) {
var chunk = document.getElementById("n" + chunks[i]); var chunk = document.getElementById("n" + chunks[i]);
if(chunk && chunk.innerText.length != 0 && chunks[i] != '0') { if(chunk && chunk.innerText.length != 0 && chunks[i] != '0') {
console.log(chunks[i])
if(!selected_chunks.has(chunks[i])) { if(!selected_chunks.has(chunks[i])) {
modified_chunks.delete(chunks[i]); modified_chunks.delete(chunks[i]);
socket.send({'cmd': 'inlineedit', 'chunk': chunks[i], 'data': chunk.innerText.replace(/\u00a0/g, " ")}); socket.send({'cmd': 'inlineedit', 'chunk': chunks[i], 'data': chunk.innerText.replace(/\u00a0/g, " ")});
@ -919,7 +918,6 @@ function deleteEmptyChunks() {
modified_chunks.delete(chunks[i]); modified_chunks.delete(chunks[i]);
socket.send({'cmd': 'inlineedit', 'chunk': chunks[i], 'data': document.getElementById("n0").innerText.replace(/\u00a0/g, " ")}); socket.send({'cmd': 'inlineedit', 'chunk': chunks[i], 'data': document.getElementById("n0").innerText.replace(/\u00a0/g, " ")});
} }
console.log(empty_chunks)
saved_prompt = $("#n0")[0].innerText.replace(/\u00a0/g, " "); saved_prompt = $("#n0")[0].innerText.replace(/\u00a0/g, " ");
} }