diff --git a/githubpoints-projects.js b/githubpoints-projects.js index b4a4f64..aefc58b 100644 --- a/githubpoints-projects.js +++ b/githubpoints-projects.js @@ -17,8 +17,8 @@ var drawProgressBars = function(to_do, doing, done) { let done_percent = 0; if (total > 0) { - let doing_percent = (doing / total) * 100; - let done_percent = (done / total) * 100; + doing_percent = (doing / total) * 100; + done_percent = (done / total) * 100; } let pointsBarElement = document.getElementById('pointsBar'); @@ -34,8 +34,7 @@ var drawProgressBars = function(to_do, doing, done) {