From 184080a179fe6eff07c923b8bde27a12ce18fc06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Cuevas?= Date: Tue, 7 May 2019 14:27:25 +0200 Subject: [PATCH] Fix spaces breaking the bar --- githubpoints-projects.js | 7 +++---- manifest.json | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) 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) {
-   -   +   
`; diff --git a/manifest.json b/manifest.json index fe5fdce..f0468b4 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "GithubPoints", - "version": "1.1", + "version": "1.1.2", "description": "Adds points and summary to the Github Project page",