From a2bf9ff61de1dcdc5406dc3c400aa4abc2dc0425 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 15 Aug 2024 12:16:03 -0300 Subject: content: linkContribution: preventTooltip slot --- src/content/dependencies/linkContribution.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- cgit 1.3.0-6-gf8a5