From 48096e4d2341c1a439e80515f3f6334cb27f59c4 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 27 Jan 2021 01:15:22 -0500 Subject: Add scroll --- templates/page.tmpl | 1 + 1 file changed, 1 insertion(+) (limited to 'templates') 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(); } } -- cgit v1.2.3