Skip to content

Commit

Permalink
Update annoucement.
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzLee authored Dec 11, 2024
1 parent 71a29c5 commit 3af62b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions other/homePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ function start() {
sessionStorage.setItem("visited", true);
}
if(window.location.href.search("index.html") != -1) {
window.location.href = window.location.href.replace("index.html", "other/course.html");
window.location.href = window.location.href.replace("index.html", "other/events.html");
}
else {
window.location.href = window.location.href + "/other/course.html";
window.location.href = window.location.href + "/other/events.html";
}
});
}
Expand All @@ -175,4 +175,4 @@ function check() {
document.querySelectorAll('.introContainer').forEach(function(paragraph) {
observer.observe(paragraph);
});
}
}

0 comments on commit 3af62b0

Please sign in to comment.