Skip to content

Commit

Permalink
// MàJ worldOverviewTable
Browse files Browse the repository at this point in the history
Number of new cases for cells color
  • Loading branch information
elreviae committed Jan 27, 2022
1 parent 62444b9 commit eeb2fd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/min/worldOverviewTable.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/uncompressed/worldOverviewTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var cellFormatNewCases = function (cell, formatterParams) {
} else if (value >= 500 && value <= 1499) {
cell.getElement().classList.add("w3-metro-orange");
return '+' + value.toLocaleString();
} else if (value >= 1500 && value <= 500000) {
} else if (value >= 1500 && value <= 800000) {
cell.getElement().classList.add("w3-black", "w3-text-orange");
return '+' + value.toLocaleString();
} else if (value == null) {
Expand Down
1 change: 1 addition & 0 deletions js/uncompressed/worldOverviewTable.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eeb2fd9

Please sign in to comment.