Skip to content

Commit

Permalink
Update caption.js
Browse files Browse the repository at this point in the history
patch for stray video ref
  • Loading branch information
maboa authored Aug 2, 2022
1 parent df431a2 commit f242864
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions wp-hyperaudio/js/caption.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! (C) The Hyperaudio Project. MIT @license: en.wikipedia.org/wiki/MIT_License. */
/*! Version 2.0.16 */
/*! Version 2.0.16 (patch) */
'use strict';

var caption = function () {
Expand Down Expand Up @@ -316,8 +316,6 @@ var caption = function () {
video.textTracks[0].mode = "showing";
}

video.textTracks[0].mode = "showing";

function captionsObj(vtt, srt) {
this.vtt = vtt;
this.srt = srt;
Expand Down

0 comments on commit f242864

Please sign in to comment.