Skip to content

Commit

Permalink
58 bug fix for captions
Browse files Browse the repository at this point in the history
  • Loading branch information
maboa committed Jan 13, 2021
1 parent 7664221 commit c04f72d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wp-hyperaudio/js/caption.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ var caption = (function () {

if (firstLine === true) {

if (lastOutTime === undefined) {
lastOutTime = wordMeta.start + wordMeta.duration;
}

thisCaption = new captionMeta(formatSeconds(lastInTime), formatSeconds(lastOutTime), "");
thisCaption.text += lineText + "\n";

Expand Down

0 comments on commit c04f72d

Please sign in to comment.