summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2021-01-27 01:15:22 -0500
committerSacha Chua <sacha@sachachua.com>2021-01-27 01:15:22 -0500
commit48096e4d2341c1a439e80515f3f6334cb27f59c4 (patch)
treec55ba4faa5b8e983328981725b559be906b6786b /templates
parent468b90e681bbca2c7e2095c0b6df48bbb4cf7041 (diff)
downloademacsconf-wiki-48096e4d2341c1a439e80515f3f6334cb27f59c4.tar.xz
emacsconf-wiki-48096e4d2341c1a439e80515f3f6334cb27f59c4.zip
Add scroll
Diffstat (limited to 'templates')
-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();
}
}