diff --git a/static/index.html b/static/index.html index 2b1358a4..464c3131 100644 --- a/static/index.html +++ b/static/index.html @@ -1513,9 +1513,12 @@ function watchResetFilters() { renderWatch(); } +let watchRendering = false; async function renderWatch() { + if (watchRendering) return; + watchRendering = true; const el = document.getElementById('watchContent'); - if (!el) return; + if (!el) { watchRendering = false; return; } try { if (watchTimer) clearInterval(watchTimer); if (!watchChipsInit) { watchRenderChips(); watchChipsInit = true; } @@ -1657,6 +1660,8 @@ async function renderWatch() { } catch(e) { el.innerHTML = '