summaryrefslogtreecommitdiffstats
path: root/templates/page.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.tmpl')
-rw-r--r--templates/page.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index a764202..0ccf7af 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();
}
}