Update transcript-tracer.js
Browse files- 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 =
|
649 |
// Let's get the `listIndex`.
|
650 |
-
var endWordListIndexForTime =
|
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) {
|