diff --git a/agents/stock/workspace/scripts/behive_web.py b/agents/stock/workspace/scripts/behive_web.py index 1fe0e47..7af8453 100644 --- a/agents/stock/workspace/scripts/behive_web.py +++ b/agents/stock/workspace/scripts/behive_web.py @@ -6434,8 +6434,6 @@ def render_html() -> str: 'if(lastLoadAt&&(Date.now()-lastLoadAt)>STALE_MS){owner=null;}' 'var key=owner||"all";' 'if(!fresh&&inFlight[key])return inFlight[key];' - # 로딩 표시는 새로고침 아이콘 스핀으로만 (내용은 그대로 보임). - 'var rb=document.querySelector("a.refresh");if(rb)rb.classList.add("spinning");' 'var qs=[];if(owner)qs.push("owner="+encodeURIComponent(owner));if(fresh)qs.push("fresh=1");' 'var cd=chartDays();if(cd!==null)qs.push("chart_days="+cd);' 'var cu=chartUnit();if(cu!==null)qs.push("chart_unit="+cu);' @@ -6446,7 +6444,7 @@ def render_html() -> str: '.then(function(r){if(!r.ok)throw new Error("HTTP "+r.status);return r.json();})' '.then(function(j){apply(j);lastLoadAt=Date.now();})' '.catch(function(){failVisible("갱신 실패 — 다시 시도해주세요");});' - 'var done=function(){if(!fresh)delete inFlight[key];if(rb&&!Object.keys(inFlight).length)rb.classList.remove("spinning");};' + 'var done=function(){if(!fresh)delete inFlight[key];};' 'pr.finally?pr.finally(done):pr.then(done,done);' 'if(!fresh)inFlight[key]=pr;' 'return pr;'