From 822f675bcb332becfdc041024e8f11878aba281b Mon Sep 17 00:00:00 2001 From: Alyona Golz Date: Wed, 17 Jan 2024 11:46:33 +0400 Subject: [PATCH] Update projects.js --- scripts_js/projects.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts_js/projects.js b/scripts_js/projects.js index 955dabb..c19eb5e 100644 --- a/scripts_js/projects.js +++ b/scripts_js/projects.js @@ -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); - } -};