From b6369a60d550c2c98340e6fd6e0ae1c584b9391e Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 21 Jun 2024 10:16:12 -0300 Subject: content: generateTextWithTooltip: onlyIfContent --- src/content/dependencies/generateTextWithTooltip.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/dependencies/generateTextWithTooltip.js b/src/content/dependencies/generateTextWithTooltip.js index 462557d1..87626367 100644 --- a/src/content/dependencies/generateTextWithTooltip.js +++ b/src/content/dependencies/generateTextWithTooltip.js @@ -36,6 +36,7 @@ export default { if (hasTooltip) { attributes = attributes.clone(); attributes.add({ + [html.onlyIfContent]: true, [html.joinChildren]: '', [html.noEdgeWhitespace]: true, class: 'text-with-tooltip', -- cgit 1.3.0-6-gf8a5