mirror of
https://github.com/daledesilva/obsidian_google-keep-import.git
synced 2026-07-22 07:50:23 +00:00
Cleaned up console logs
This commit is contained in:
parent
a729236d10
commit
e85413d4ef
1 changed files with 1 additions and 9 deletions
10
main.ts
10
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue