grey out nan value in table

This commit is contained in:
simon 2021-07-31 12:21:41 +07:00
parent aa6b150d25
commit a02dd4ed17
1 changed files with 3 additions and 0 deletions

View File

@ -246,6 +246,9 @@ function colorTables() {
} else if (cellContent == 'same') {
cell.textContent = '\u301C';
cell.style.backgroundColor = '#bdbdbd';
} else if (cellContent == 'nan') {
cell.style.backgroundColor = '#eeeeee';
cell.style.color = '#737373';
} else {
try {
var backgroundColor = colorConfig[cellContent][0];