diff --git a/public/scripts/manage.js b/public/scripts/manage.js index 651047e..5482569 100644 --- a/public/scripts/manage.js +++ b/public/scripts/manage.js @@ -51,7 +51,7 @@ CATEGORIES.push(new Category( row.appendChild(spacerCell); }, async function addSeason() { - window.location.href = "manage/addseason"; + window.location.href = "/manage/addseason"; }, async function editSeason() { @@ -85,7 +85,7 @@ CATEGORIES.push(new Category( row.appendChild(spacerCell); }, async function addSport() { - window.location.href = "manage/addsport"; + window.location.href = "/manage/addsport"; }, async function editSport() { @@ -136,7 +136,7 @@ CATEGORIES.push(new Category( row.appendChild(sportCell); }, async function addDivision() { - window.location.href = "manage/adddivision"; + window.location.href = "/manage/adddivision"; }, async function editDivision() { @@ -179,7 +179,7 @@ CATEGORIES.push(new Category( row.appendChild(sportCell); }, async function addTeam() { - window.location.href = "manage/addteam"; + window.location.href = "/manage/addteam"; }, async function editTeam() { @@ -268,7 +268,7 @@ CATEGORIES.push(new Category( row.appendChild(dateCell); }, async function addGame() { - window.location.href = "manage/addgame"; + window.location.href = "/manage/addgame"; }, async function editSeason() {