From 15bc6d580ec2b3a754ff3dc17e9eb24bc90e052a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 26 Nov 2023 18:16:34 -0400 Subject: client, css: style hovered/active tooltip links wavy --- src/static/client3.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/static/client3.js') diff --git a/src/static/client3.js b/src/static/client3.js index 866b9ba2..390d020e 100644 --- a/src/static/client3.js +++ b/src/static/client3.js @@ -754,6 +754,8 @@ function hideCurrentlyShownTooltip() { // Never hide the tooltip if it's focused. if (currentlyShownTooltipHasFocus()) return false; + state.currentlyActiveHoverable.classList.remove('has-visible-tooltip'); + state.currentlyShownTooltip = null; state.currentlyActiveHoverable = null; @@ -774,6 +776,8 @@ function showTooltipFromHoverable(hoverable) { if (!hideCurrentlyShownTooltip()) return false; + hoverable.classList.add('has-visible-tooltip'); + state.currentlyShownTooltip = tooltip; state.currentlyActiveHoverable = hoverable; -- cgit 1.3.0-6-gf8a5