summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/page.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index a764202d..0ccf7af6 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -94,6 +94,7 @@
let videoElem = document.getElementById(video);
if (videoElem) {
videoElem.currentTime = parseSeconds(start);
+ videoElem.scrollIntoView();
}
}