From 372756dcfaf98e2e1995c69d563695805b24e933 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 14 May 2026 21:24:24 -0500 Subject: return to top of page after clicking timestamp --- static/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/index.js b/static/index.js index b852619..ef3a097 100644 --- a/static/index.js +++ b/static/index.js @@ -179,6 +179,7 @@ function timestampLinkClick(e) { return player.seekTo(t) window.history.replaceState({}, "", url) /* reflect time in url bar */ + window.scrollTo(0, 0) /* return to page top */ } document.addEventListener("click", timestampLinkClick) -- cgit v1.2.3