aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/index.js1
1 files changed, 1 insertions, 0 deletions
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)