ydshieh HF staff commited on
Commit
67fa927
1 Parent(s): 8de1afb

Update transcript-tracer.js

Browse files
Files changed (1) hide show
  1. transcript-tracer.js +1 -1
transcript-tracer.js CHANGED
@@ -549,7 +549,7 @@ function handleSelection() {
549
  var startWordElementForTime = startWordElementForHighlight;
550
 
551
  // TODO: ......
552
- while (startWordElementForTime.className == "tt-whitespace" || (typeof startWordElementForTime.dataset.ttWord === "undefined")) {
553
  startWordElementForTime = startWordElementForTime.nextElementSibling;
554
  }
555
 
 
549
  var startWordElementForTime = startWordElementForHighlight;
550
 
551
  // TODO: ......
552
+ while (startWordElementForTime.className == "tt-whitespace" || (startWordElementForTime.dataset.ttWord === undefined)) {
553
  startWordElementForTime = startWordElementForTime.nextElementSibling;
554
  }
555