Skip to content

Commit

Permalink
Update projects.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AGolz authored Jan 17, 2024
1 parent 5b43837 commit 822f675
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts_js/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,3 @@ function showProject(projectId) {

history.pushState(null, null, `#${projectId}`);
}

window.onload = function () {
var initialFragment = window.location.hash.substring(1);
if (initialFragment) {
showProject(initialFragment);
}
};

0 comments on commit 822f675

Please sign in to comment.