Skip to content

Commit

Permalink
fix -> level link on "all course" events
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-thepie committed Sep 23, 2024
1 parent 2b58e39 commit 0b70551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/staff/staff.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function addEvents() {
if (data[level].common) {
for (const event of data[level].common.events) {
const eventElem = createEvent(event);
eventElem.querySelector('.info-level').textContent = level;
eventElem.querySelector('.info-level').innerHTML = `<a href="./?level=${level}">${level}</a>`;
eventElem.dataset.level = level;
const infoElem = eventElem.querySelector('.info-courses');
const fixedCourses = fixCourses(level, event.not);
Expand Down

0 comments on commit 0b70551

Please sign in to comment.