From c139dbe9a318493d7aa97039e7e1fdba5b2508f1 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 27 Dec 2023 17:10:34 +0200 Subject: Including new files in index.html and new article format --- src/js/arching-kaos-tools.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/js/arching-kaos-tools.js') diff --git a/src/js/arching-kaos-tools.js b/src/js/arching-kaos-tools.js index 300d50b..55056b3 100644 --- a/src/js/arching-kaos-tools.js +++ b/src/js/arching-kaos-tools.js @@ -522,14 +522,12 @@ function getipfstext(ipfsHash, articleid){ var pre = document.createElement("div"); var lines = text.split('\n'); // remove one line, starting at the first position - lines.splice(0,1); + // lines.splice(0,1); // join the array back into a single string var newtext = lines.join('\n'); pre.innerHTML = DOMPurify.sanitize(marked.parse(newtext)); divs.appendChild(pre); } - progressPlaceholder.max++; - progressPlaceholder.value++; }) } }) -- cgit v1.2.3