From 8c0d97f0a7a3b862f1308d2d417c1f409a4afe31 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 22 Apr 2022 19:02:20 +0100 Subject: [PATCH] load on start --- app/templates/timeline.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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() }