summaryrefslogtreecommitdiffstats
path: root/templates/page.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.tmpl')
-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));
}