diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-06-21 10:16:12 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-21 10:47:46 -0300 |
commit | b6369a60d550c2c98340e6fd6e0ae1c584b9391e (patch) | |
tree | 6a91e9cd20b610e37c6b82e3a4cdcbb43f80afeb | |
parent | 57e898032afce1715f1493592c7d5d21efc7f6e4 (diff) |
content: generateTextWithTooltip: onlyIfContent
-rw-r--r-- | src/content/dependencies/generateTextWithTooltip.js | 1 |
1 files changed, 1 insertions, 0 deletions
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', |