Skip to content

Commit

Permalink
Update gradebookng/tool/src/webapp/scripts/gradebook-gbgrade-table.js
Browse files Browse the repository at this point in the history
Co-authored-by: Adrian Fish <[email protected]>
  • Loading branch information
kunaljaykam and adrianfish authored Sep 7, 2024
1 parent 4605e19 commit 49b348e
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -544,11 +544,7 @@ GbGradeTable.cellFormatter = function(cell, formatterParams, onRendered) {
if (gbNotification) gbNotification.classList.remove("gb-flag-excused");
}

if (columnData.type === 'category') {
td.classList.add('gb-category-average');
} else {
td.classList.remove('gb-category-average');
}
td.classList.toggle('gb-category-average', columnData.type === 'category');

const metadata = {
id: cellKey,
Expand Down

0 comments on commit 49b348e

Please sign in to comment.