Update transcript-tracer.js
Browse files- transcript-tracer.js +1 -1
transcript-tracer.js
CHANGED
@@ -652,7 +652,7 @@ function handleSelection() {
|
|
652 |
var endSeconds = null;
|
653 |
if (endWordIndexForTime !== undefined) {
|
654 |
endSeconds = ttLinkedDataByMediaUrl[mediaUrl].wordTimings[endWordIndexForTime].startSeconds;
|
655 |
-
if (
|
656 |
endSeconds = ttLinkedDataByMediaUrl[mediaUrl].wordTimings[endWordIndexForTime].endSeconds;
|
657 |
}
|
658 |
}
|
|
|
652 |
var endSeconds = null;
|
653 |
if (endWordIndexForTime !== undefined) {
|
654 |
endSeconds = ttLinkedDataByMediaUrl[mediaUrl].wordTimings[endWordIndexForTime].startSeconds;
|
655 |
+
if (endWordElement.listIndex == nodes.length - 1) {
|
656 |
endSeconds = ttLinkedDataByMediaUrl[mediaUrl].wordTimings[endWordIndexForTime].endSeconds;
|
657 |
}
|
658 |
}
|