Fix to goal difference gradient script. The ID tag for it had been changed in the HTML and the script hadn't been changed to reflect it

This commit is contained in:
Lucas Patenaude
2024-04-16 15:36:44 -06:00
parent 7f7b79d63e
commit 1b3e271b51

View File

@@ -1,5 +1,5 @@
document.addEventListener("DOMContentLoaded", function() {
var goalDifferenceCells = document.querySelectorAll("#goal-difference-column"); // Selecting the cells in the goal_difference column
var goalDifferenceCells = document.querySelectorAll("#league-table-goal-difference-column"); // Selecting the cells in the goal_difference column
goalDifferenceCells.forEach(function(cell) {
var goalDifference = parseInt(cell.textContent);