From aa15dfc787230d32e5bb521f447d1808e321e7e7 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 24 Nov 2021 14:09:01 +0100 Subject: [PATCH] ignore non public items --- app/static/js/ascroll.js | 3 +++ 1 file changed, 3 insertions(+) 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],