diff --git a/static/script.js b/static/script.js index 2cd9490..6fa86ee 100644 --- a/static/script.js +++ b/static/script.js @@ -1954,7 +1954,6 @@ function getRowPlayer(row) { firstName: row.dataset.playerFirst || "", number: row.dataset.playerNumber || "", position: row.dataset.playerPosition || "", - positionFull: row.dataset.playerPositionFull || "", isCaptain: row.dataset.playerCaptain === "1", disciplineType: row.dataset.disciplineType || "" }; @@ -1967,7 +1966,6 @@ function setRowPlayer(row, player) { row.dataset.playerFirst = player.firstName ?? ""; row.dataset.playerNumber = player.number ?? ""; row.dataset.playerPosition = player.position ?? ""; - row.dataset.playerPositionFull = player.positionFull ?? ""; row.dataset.playerCaptain = player.isCaptain ? "1" : "0"; row.dataset.disciplineType = player.disciplineType ?? ""; } @@ -2097,7 +2095,7 @@ function renderLineupRow(row) { data-side="${escapeHtml(side)}" data-first-name="${escapeHtml(player.firstName || "")}" data-last-name="${escapeHtml(player.lastName || "")}" - data-role="${escapeHtml(player.positionFull || "")}" + data-role="${escapeHtml(player.position || "")}" >