diff --git a/subjects/edit/modify-subject.js b/subjects/edit/modify-subject.js index a4e1e16..de28d54 100644 --- a/subjects/edit/modify-subject.js +++ b/subjects/edit/modify-subject.js @@ -24,7 +24,7 @@ subject_save_button.addEventListener('click', () => { success: (data) => { console.log(data); if (data == "success") { - location.assign("/subjects/subject?subject=" + subjectID); + location.assign("/subjects/grades?subject=" + subjectID); } else { console.log(data); }