From 1af141a2942a7d470554c89a455f04df92bd6e71 Mon Sep 17 00:00:00 2001 From: Brian Krabach Date: Mon, 30 Mar 2026 02:07:15 -0700 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20orphaned=20JSDoc=20=E2=80=94=20mo?= =?UTF-8?q?ve=20showNewSessionInput=20comment=20above=20its=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- muxplex/frontend/app.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/muxplex/frontend/app.js b/muxplex/frontend/app.js index 48006d2..c6ecc99 100644 --- a/muxplex/frontend/app.js +++ b/muxplex/frontend/app.js @@ -1284,14 +1284,6 @@ function updateSessionPill(sessions) { // ─── Header + button with inline name input ──────────────────────────────────── -/** - * Replace the header + button with an inline text input for session naming. - * Hides the button, inserts the input before it, and focuses it. - * On Enter: if name is non-empty after trim, calls createNewSession(name). - * On Escape: restores the button (cleanup only). - * On blur: delayed cleanup (150ms) to allow click handlers. - * @param {HTMLElement} btn - The button element to replace temporarily. - */ /** * Create a new session name input element with shared base configuration. * Used by both showNewSessionInput (inline) and showFabSessionInput (overlay) @@ -1308,6 +1300,14 @@ function _createSessionInput() { return input; } +/** + * Replace the header + button with an inline text input for session naming. + * Hides the button, inserts the input before it, and focuses it. + * On Enter: if name is non-empty after trim, calls createNewSession(name). + * On Escape: restores the button (cleanup only). + * On blur: delayed cleanup (150ms) to allow click handlers. + * @param {HTMLElement} btn - The button element to replace temporarily. + */ function showNewSessionInput(btn) { const input = _createSessionInput();