ydshieh HF staff commited on
Commit
5676dee
1 Parent(s): 1a8952c

Update transcript-tracer.js

Browse files
Files changed (1) hide show
  1. transcript-tracer.js +2 -2
transcript-tracer.js CHANGED
@@ -645,9 +645,9 @@ function handleSelection() {
645
  }
646
 
647
  // This could still be `undefined`.
648
- var endWordIndexForTime = endWordIndexForTime.dataset.ttWord;
649
  // Let's get the `listIndex`.
650
- var endWordListIndexForTime = endWordIndexForTime.listIndex;
651
 
652
  var endSeconds = null;
653
  if (endWordIndexForTime !== undefined) {
 
645
  }
646
 
647
  // This could still be `undefined`.
648
+ var endWordIndexForTime = endWordElementForTime.dataset.ttWord;
649
  // Let's get the `listIndex`.
650
+ var endWordListIndexForTime = endWordElementForTime.listIndex;
651
 
652
  var endSeconds = null;
653
  if (endWordIndexForTime !== undefined) {