diff --git a/app/templates/timeline.html b/app/templates/timeline.html index df13dca..622bdfd 100644 --- a/app/templates/timeline.html +++ b/app/templates/timeline.html @@ -64,14 +64,9 @@ timenav_height: 100, }); } - /* - document.querySelector('#intro').addEventListener('click', event => { - document.querySelector('#intro').style.display = 'none' - document.querySelector('#contact').style.display = 'none' - document.querySelector('#timeline').style.display = 'block' + document.querySelector('#intro a[href="#title"]').addEventListener('click', event => { load_timeline() }) - */ if (document.location.hash.slice(1).length) { load_timeline() }