Skip to content

Commit

Permalink
Rename a column
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreBurel committed Jun 6, 2023
1 parent 54d733d commit 893f821
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,9 @@ function fillMaps() {
// add the header line
content = "<tr>";
for(let col = 0; col < MAPS_HEADER.length; col++) {
header = MAPS_HEADER[col] == "Nb identifiers" ? "# Identifiers" : MAPS_HEADER[col];
css = LAST_ENTRY_COL == col ? "class=\""+ENTRY_SORT_DIR+"\"" : "";
content += "<th id=\"mc"+col+"\" "+css+" onclick=\"sortMaps(event, "+col+")\">" + MAPS_HEADER[col] + "</th>";
content += "<th id=\"mc"+col+"\" "+css+" onclick=\"sortMaps(event, "+col+")\">" + header + "</th>";
}
content += "</tr>";
// then the data
Expand Down

0 comments on commit 893f821

Please sign in to comment.