Update transcript-tracer.js
Browse files- transcript-tracer.js +1 -2
transcript-tracer.js
CHANGED
@@ -462,8 +462,7 @@ function handleWordClick(e) {
|
|
462 |
|
463 |
ttLinkedDataByMediaUrl[mediaUrl].mediaElement.currentTime = startSeconds;
|
464 |
|
465 |
-
|
466 |
-
var ttData = ttLinkedDataByMediaUrl[ttActivePlayer.dataset.ttLinkedMediaUrl];
|
467 |
|
468 |
// Make sure the correct transcript is selected
|
469 |
if (!ttCurrentTranscript || ttCurrentTranscript.dataset.ttTranscript != ttData.transcriptIndex) {
|
|
|
462 |
|
463 |
ttLinkedDataByMediaUrl[mediaUrl].mediaElement.currentTime = startSeconds;
|
464 |
|
465 |
+
var ttData = ttLinkedDataByMediaUrl[mediaUrl];
|
|
|
466 |
|
467 |
// Make sure the correct transcript is selected
|
468 |
if (!ttCurrentTranscript || ttCurrentTranscript.dataset.ttTranscript != ttData.transcriptIndex) {
|