From e85413d4ef25110727fca3cbe8d89cd02b843cdf Mon Sep 17 00:00:00 2001 From: Dale de Silva Date: Wed, 28 Dec 2022 23:59:45 +1100 Subject: [PATCH] Cleaned up console logs --- main.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/main.ts b/main.ts index 956e820..11ba934 100644 --- a/main.ts +++ b/main.ts @@ -291,15 +291,7 @@ function updateProgressBar(options: {total: number, barEl: HTMLDivElement}) { const perc = (successCount + failCount)/total * 100; barEl.setAttr('style', `width: ${perc}%`); - console.log('successCount', successCount) - console.log('failCount', failCount) - console.log('(Added))', successCount + failCount) - console.log('total', total) - console.log('perc', perc) - - // Bail if right near end - // TODO: Why doesn't it ever get to exactly 100? Is it a floating point issue? - if(perc == 100) return; + if(perc == 100) return; // TODO: Close the modal here requestAnimationFrame( function() { updateProgressBar(options);