ydshieh HF staff commited on
Commit
f05fd66
1 Parent(s): f47f15b

Update transcript-tracer.js

Browse files
Files changed (1) hide show
  1. 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 = startWordIndexForTime.listIndex;
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);