diff options
author | Sacha Chua <sacha@sachachua.com> | 2021-01-27 01:15:22 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2021-01-27 01:15:22 -0500 |
commit | 48096e4d2341c1a439e80515f3f6334cb27f59c4 (patch) | |
tree | c55ba4faa5b8e983328981725b559be906b6786b /templates | |
parent | 468b90e681bbca2c7e2095c0b6df48bbb4cf7041 (diff) | |
download | emacsconf-wiki-48096e4d2341c1a439e80515f3f6334cb27f59c4.tar.xz emacsconf-wiki-48096e4d2341c1a439e80515f3f6334cb27f59c4.zip |
Add scroll
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.tmpl | 1 |
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(); } } |