Skip to content

Commit

Permalink
chart container
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeseibel committed Dec 23, 2024
1 parent 721da35 commit 3ebe549
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions coursedashboards/static/coursedashboards/js/course.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ var showCourseData = function (label) {
gpa_distribution_time: 'past'
}));

chart_container = $('.current-section #historic-median-cumulative-gpa');
if (chart_container.length) {
renderGPADisribution(chart_container, section.current_median, section.gpas);
chart_container = $("#current-performance-panel #historic-median-cumulative-gpa");
if (chart_container.length > 0) {
renderGPADisribution(chart_container[0], section.current_median, section.gpas);
}
}

Expand Down

0 comments on commit 3ebe549

Please sign in to comment.