summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2021-12-12 01:45:30 -0500
committerSacha Chua <sacha@sachachua.com>2021-12-12 01:45:30 -0500
commit5eeeae68b14f59943d1211bfce701de41e50de66 (patch)
treee41de033db65a59038b8789cb8e0b8ff7cbdf8a8
parent29e3158f24dcefd377201ea9c04dbad51c37440e (diff)
downloademacsconf-wiki-5eeeae68b14f59943d1211bfce701de41e50de66.tar.xz
emacsconf-wiki-5eeeae68b14f59943d1211bfce701de41e50de66.zip
Avoid overlay
-rw-r--r--templates/page.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 11606228..2fc13813 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -347,7 +347,7 @@ transcriptDiv.appendChild(transcriptLink)
if (track) {
var time = parseSeconds(start);
if (track.cues.length > 0) {
- track.cues[track.cues.length - 1].endTime = time;
+ track.cues[track.cues.length - 1].endTime = time - 1;
}
track.addCue(new VTTCue(time, time, text));
}