Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
πŸ› Editing subjects not possible #52
Browse files Browse the repository at this point in the history
  • Loading branch information
CuzImBisonratte committed Dec 12, 2023
1 parent 2570821 commit 2281ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subjects/edit/modify-subject.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
} else {
console.log(data);
}
Expand Down

0 comments on commit 2281ac5

Please sign in to comment.