Update transcript-tracer.js
Browse files- transcript-tracer.js +1 -1
transcript-tracer.js
CHANGED
@@ -569,7 +569,7 @@ function handleSelection() {
|
|
569 |
var startWordElementForHighlight = startWordElement
|
570 |
|
571 |
while (startWordElementForHighlight.className == "tt-whitespace") {
|
572 |
-
var index =
|
573 |
if (index >= nodes.length) break;
|
574 |
startWordElementForHighlight = nodes[index];
|
575 |
}
|
|
|
569 |
var startWordElementForHighlight = startWordElement
|
570 |
|
571 |
while (startWordElementForHighlight.className == "tt-whitespace") {
|
572 |
+
var index = startWordElementForHighlight.listIndex + 1;
|
573 |
if (index >= nodes.length) break;
|
574 |
startWordElementForHighlight = nodes[index];
|
575 |
}
|