Fixed columns not updating correctly
This commit is contained in:
parent
8860bf29d9
commit
a02de0caf4
1 changed files with 1 additions and 1 deletions
|
@ -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 = '<span class="column-points" style="background-color: #0366d6; color: #fff; padding: 0.1rem;">' + total + '</span>' + header.innerHTML;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue