diff --git a/app/static/js/ascroll.js b/app/static/js/ascroll.js index 3377f6a..0ec94a1 100755 --- a/app/static/js/ascroll.js +++ b/app/static/js/ascroll.js @@ -292,6 +292,9 @@ async function loadClips(annotations) { annotations.forEach(annotation => { var clipId = annotation.id.split('/')[0] + '/' + annotation.in.toFixed(3) + '-'+ annotation.out.toFixed(3) + if (!colors[clipId]) { + return + } clips[clipId] = clips[clipId] || { id: clipId, color1: colors[clipId],