Update transcript-tracer.js
Browse files- transcript-tracer.js +1 -1
transcript-tracer.js
CHANGED
@@ -587,7 +587,7 @@ function handleSelection() {
|
|
587 |
// This is always defined here.
|
588 |
var startWordIndexForTime = startWordElementForTime.dataset.ttWord;
|
589 |
// But let's still get the `listIndex`.
|
590 |
-
var startWordListIndexForTime =
|
591 |
var startSeconds = ttLinkedDataByMediaUrl[mediaUrl].wordTimings[startWordIndexForTime].startSeconds;
|
592 |
|
593 |
console.log(startWordElement);
|
|
|
587 |
// This is always defined here.
|
588 |
var startWordIndexForTime = startWordElementForTime.dataset.ttWord;
|
589 |
// But let's still get the `listIndex`.
|
590 |
+
var startWordListIndexForTime = startWordElementForTime.listIndex;
|
591 |
var startSeconds = ttLinkedDataByMediaUrl[mediaUrl].wordTimings[startWordIndexForTime].startSeconds;
|
592 |
|
593 |
console.log(startWordElement);
|