Fix bug regarding page redirection

main
sudoer777 2021-11-22 19:23:20 -07:00
parent aacff9cca1
commit 5c78753828
1 changed files with 5 additions and 5 deletions

View File

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