remove debug messages
Marco Andronaco andronacomarco@gmail.com
Mon, 19 Sep 2022 02:03:35 +0200
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
res/slow_load.js
→
res/slow_load.js
@@ -21,7 +21,7 @@ const all = document.getElementsByTagName("*");
let total = 0; function hide_all() { - console.log("hide"); + for (i in all) { const node = all[i]; if((node.childElementCount == 0) && (not_allowed.indexOf(node.tagName) === -1) && node.style){@@ -33,7 +33,6 @@ }
} function start_loading(speed, not_allowed=[], callback) { - console.log("show"); function onNodeLoaded(node){ node.style.display = node.getAttribute("data-display");