From 6a8c90a04b42075e67a0e194b8c173a669c6b47e Mon Sep 17 00:00:00 2001 From: gerlofvanek Date: Wed, 15 Oct 2025 18:28:44 +0200 Subject: [PATCH] Fixed identity tooltips on bids page + removed bottleneck offers page. --- basicswap/static/js/pages/bids-page.js | 67 +++++++++++++++++------- basicswap/static/js/pages/offers-page.js | 27 +++++++--- 2 files changed, 69 insertions(+), 25 deletions(-) diff --git a/basicswap/static/js/pages/bids-page.js b/basicswap/static/js/pages/bids-page.js index d211b07..05f88e4 100644 --- a/basicswap/static/js/pages/bids-page.js +++ b/basicswap/static/js/pages/bids-page.js @@ -918,6 +918,12 @@ const forceTooltipDOMCleanup = () => { foundCount += allTooltipElements.length; allTooltipElements.forEach(element => { + const isInTooltipContainer = element.closest('.tooltip-container'); + + if (isInTooltipContainer) { + return; + } + const isDetached = !document.body.contains(element) || element.classList.contains('hidden') || element.style.display === 'none'; @@ -1138,7 +1144,7 @@ const createTableRow = async (bid) => { `; } - return ` + const rowHtml = ` @@ -1224,13 +1230,16 @@ const createTableRow = async (bid) => { + `; - + const tooltipIdentityHtml = ` + `; + const tooltipStatusHtml = `