chore: strip remaining btnCancel inline-flex references (superseded by single-button model)

This commit is contained in:
starship-s
2026-04-27 22:42:20 -06:00
committed by Hermes Agent
parent 96182e5f51
commit 8eb3d8bdbc
-2
View File
@@ -388,7 +388,6 @@ async function loadSession(sid){
if(typeof startClarifyPolling==='function') startClarifyPolling(sid);
if(typeof _fetchYoloState==='function') _fetchYoloState(sid);
S.activeStreamId=activeStreamId;
const _cb=$('btnCancel');if(_cb&&activeStreamId)_cb.style.display='inline-flex';
if(INFLIGHT[sid].reattach&&activeStreamId&&typeof attachLiveStream==='function'){
INFLIGHT[sid].reattach=false;
if (_loadingSessionId !== sid) return;
@@ -457,7 +456,6 @@ async function loadSession(sid){
S.busy=true;
S.activeStreamId=activeStreamId;
updateSendBtn();
const _cb=$('btnCancel');if(_cb)_cb.style.display='inline-flex';
setStatus('');
setComposerStatus('');
syncTopbar();renderMessages();appendThinking();loadDir('.');