From e1738d3fa42f4cb3eeb359bd64ddbb0c2efc995d Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 30 Jul 2026 20:19:39 -0500 Subject: [PATCH] =?UTF-8?q?feat(LIA):=20bot=C3=B3n=20minimizar=20visible?= =?UTF-8?q?=20con=20=C3=ADcono=20=E2=80=94=20/=20=E2=96=B2=20en=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- modules/turnero/views/dashboard.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/turnero/views/dashboard.php b/modules/turnero/views/dashboard.php index 6627019..08d9249 100644 --- a/modules/turnero/views/dashboard.php +++ b/modules/turnero/views/dashboard.php @@ -347,6 +347,9 @@ try { +
@@ -777,9 +780,11 @@ function enviarRapido(pregunta) { } function minimizarIA(e) { - if (e.target.closest('button')) return; + if (e && e.target && e.target.closest && e.target.closest('button:not(#btnMin)')) return; _aiMinimized = !_aiMinimized; document.getElementById('aiPanel').classList.toggle('minimized', _aiMinimized); + const icon = document.getElementById('iconMin'); + if (icon) icon.className = _aiMinimized ? 'fas fa-chevron-up' : 'fas fa-minus'; } function _liaGreet() {