diff --git a/packages/webui/src/public/app.js b/packages/webui/src/public/app.js index d321b483..0f4fec95 100644 --- a/packages/webui/src/public/app.js +++ b/packages/webui/src/public/app.js @@ -325,7 +325,7 @@ : `
${esc(err.message)} Board: ${esc(board)}. ${data ? `Showing last known data.${data.generatedAt ? ` Scanned ${esc(data.generatedAt)}.` : ''}` : 'No board data loaded.'} Use Refresh to try again.
`; fresh(); // Clearing the board or closing a conversation can remove what had focus: give it to the page. - if (focused && document.activeElement === document.body) $('main').focus(); + if (document.activeElement === document.body) $('main').focus(); } function schedule() { clearTimeout(timer); if (!paused) timer = setTimeout(refresh, 10000); } async function refresh() {