diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-08-15 12:16:03 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-08-15 12:16:03 -0300 |
commit | a2bf9ff61de1dcdc5406dc3c400aa4abc2dc0425 (patch) | |
tree | fc859150d01e5bfeef9a4d2801e3c301bfdfabc9 /src/content/dependencies/linkContribution.js | |
parent | 6001fda38ccc575b50182c312963b3661b43f42a (diff) |
content: linkContribution: preventTooltip slot
Diffstat (limited to 'src/content/dependencies/linkContribution.js')
-rw-r--r-- | src/content/dependencies/linkContribution.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/dependencies/linkContribution.js b/src/content/dependencies/linkContribution.js index feed74cc..67451093 100644 --- a/src/content/dependencies/linkContribution.js +++ b/src/content/dependencies/linkContribution.js @@ -29,6 +29,7 @@ export default { showChronology: {type: 'boolean', default: false}, preventWrapping: {type: 'boolean', default: true}, + preventTooltip: {type: 'boolean', default: false}, chronologyKind: {type: 'string'}, }, @@ -52,7 +53,7 @@ export default { }); workingOptions.artist = - (html.isBlank(relations.tooltip) + (html.isBlank(relations.tooltip) || slots.preventTooltip ? relations.artistLink : relations.textWithTooltip.slots({ customInteractionCue: true, |