From 3da33c971611075e653bcda1dbf3f86e43b95e95 Mon Sep 17 00:00:00 2001 From: ai_coder Date: Thu, 22 Oct 2026 09:44:52 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=83=D1=81=D0=BE=D0=B2=D0=B5=D1=80?= =?UTF-8?q?=D1=88=D0=B5=D0=BD=D1=81=D1=82=D0=B2=D0=BE=D0=B2=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D1=81=D0=BE=D0=B1=D1=8B=D1=82=D0=B8=D1=8F=20=D0=BC?= =?UTF-8?q?=D1=8B=D1=88=D0=B8=20=D0=B4=D0=BB=D1=8F=20=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D0=B1=D0=B8=D0=BB=D1=8C=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=BA=D0=B0=D0=B7=D0=B0=20=D1=82=D1=83=D0=BB=D1=82=D0=B8=D0=BF?= =?UTF-8?q?=D0=B0=20=D0=BD=D0=B0=20=D0=B2=D1=81=D0=B5=D1=85=20=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=BA=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/static/index.html b/app/static/index.html index 0cd2f1c..cdf0e90 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -383,10 +383,14 @@ document.addEventListener('mouseover', e => { if (seg) { const targetSeg = seg.classList.contains('uptime-seg') ? seg : seg.querySelector('.uptime-seg[data-seg]'); if (targetSeg) showSegTip(targetSeg); + } else { + hideSegTip(); } }); document.addEventListener('mouseout', e => { - if (e.target.closest('.uptime-seg[data-seg]') || e.target.closest('.uptime-segs')) hideSegTip(); + if (!e.relatedTarget || !e.relatedTarget.closest('.seg-tip')) { + if (e.target.closest('.uptime-seg[data-seg]') || e.target.closest('.uptime-segs')) hideSegTip(); + } }); document.addEventListener('scroll', hideSegTip, true);