From 1d83cd46e5ed23bd7d581efdac999a984c303f27 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 30 Nov 2024 18:49:40 -0400 Subject: content: generateTextWithTooltip: always blank w/ blank text Resolves #528. No particular content changes in practice, or at least none for commentary entries without dates. (Maybe commentary entries which have date-retrieved but not basic date???) --- src/content/dependencies/generateTooltip.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/content/dependencies/generateTooltip.js') diff --git a/src/content/dependencies/generateTooltip.js b/src/content/dependencies/generateTooltip.js index 8314d33c..b09ee230 100644 --- a/src/content/dependencies/generateTooltip.js +++ b/src/content/dependencies/generateTooltip.js @@ -22,6 +22,7 @@ export default { html.tag('span', {class: 'tooltip'}, {[html.noEdgeWhitespace]: true}, {[html.onlyIfContent]: true}, + {[html.onlyIfSiblings]: true}, slots.attributes, html.tag('span', {class: 'tooltip-content'}, -- cgit 1.3.0-6-gf8a5