diff --git a/docs/index.js b/docs/index.js index cf4c69a..25756a3 100644 --- a/docs/index.js +++ b/docs/index.js @@ -321,12 +321,8 @@ document.addEventListener('DOMContentLoaded', () => { const pageId = window.location.hash.slice(1); if (!pageId) { - const lastPage = localStorage.getItem('currentPage'); - if (lastPage) { - navigateToPage(lastPage); - } else { - navigateToPage('introduction'); - } + // Always navigate to introduction when no hash is present + navigateToPage('introduction'); } else { loadPage(pageId); }