From a02de0caf4e75f8c3b40a07b310b5b63c1669d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Cuevas?= Date: Mon, 15 Apr 2019 14:49:05 +0200 Subject: [PATCH] Fixed columns not updating correctly --- githubpoints-projects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/githubpoints-projects.js b/githubpoints-projects.js index dba0ae4..9763802 100644 --- a/githubpoints-projects.js +++ b/githubpoints-projects.js @@ -23,7 +23,7 @@ var updatePoints = function () { let header = column.getElementsByTagName('h4')[0]; let column_points = header.getElementsByClassName('column-points'); if (column_points.length > 0) { - column_points[0].text = total; + column_points[0].innerHTML = total; } else { header.innerHTML = '' + total + '' + header.innerHTML; }