diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/arching-kaos-tools.js | 4 | ||||
-rw-r--r-- | src/js/environment-setup.js | 1 |
2 files changed, 2 insertions, 3 deletions
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++; }) } }) diff --git a/src/js/environment-setup.js b/src/js/environment-setup.js index ab5568a..aa3448c 100644 --- a/src/js/environment-setup.js +++ b/src/js/environment-setup.js @@ -50,6 +50,7 @@ var menuids = [ * */ var progressPlaceholder = document.querySelector('#total-progress'); +var httpProgressPlaceholder = document.querySelector('#http-progress'); var currentLogMessageElement = document.querySelector('#current-log-message'); var logsAreaElement = document.querySelector("#logs-area-element"); var radio = document.querySelector("#radio-player"); |