Update transcript-tracer.js
Browse files- transcript-tracer.js +2 -0
transcript-tracer.js
CHANGED
|
@@ -119,6 +119,8 @@ function loadTranscriptTracer(options=null) {
|
|
| 119 |
// ====================================================================================================
|
| 120 |
|
| 121 |
if (nodes.length > 0) nodes = []; dict = {};
|
|
|
|
|
|
|
| 122 |
var transcript = ttTranscripts[0];
|
| 123 |
var listIndex= -1;
|
| 124 |
for (const x of transcript.children) {
|
|
|
|
| 119 |
// ====================================================================================================
|
| 120 |
|
| 121 |
if (nodes.length > 0) nodes = []; dict = {};
|
| 122 |
+
if (ttTranscripts.length == 0) return;
|
| 123 |
+
|
| 124 |
var transcript = ttTranscripts[0];
|
| 125 |
var listIndex= -1;
|
| 126 |
for (const x of transcript.children) {
|