ydshieh HF staff commited on
Commit
365d964
1 Parent(s): 326564b

Update transcript-tracer.js

Browse files
Files changed (1) hide show
  1. transcript-tracer.js +2 -2
transcript-tracer.js CHANGED
@@ -620,8 +620,8 @@ function handleSelection() {
620
  console.log(transcript.children[0].children);
621
 
622
  var nodes = [];
623
- for (x in transcript.children) {
624
- for (y in x.children) {
625
  nodes.push(y);
626
  }
627
  }
 
620
  console.log(transcript.children[0].children);
621
 
622
  var nodes = [];
623
+ for (const x of transcript.children) {
624
+ for (const y of x.children) {
625
  nodes.push(y);
626
  }
627
  }