From c17fbefb7d3a8da87ebaee061a4d1a4af8dc03f0 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 6 Feb 2024 22:19:48 -0400 Subject: content, test: linkThing: set custom interaction cue properly --- src/content/dependencies/linkThing.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/content') diff --git a/src/content/dependencies/linkThing.js b/src/content/dependencies/linkThing.js index b4cfda03..3902f380 100644 --- a/src/content/dependencies/linkThing.js +++ b/src/content/dependencies/linkThing.js @@ -108,6 +108,10 @@ export default { linkAttributes.add('title', data.name); } + if (showWikiTooltip) { + linkAttributes.add('class', 'text-with-tooltip-interaction-cue'); + } + const content = (html.isBlank(slots.content) ? language.sanitize(name) @@ -131,6 +135,7 @@ export default { return relations.textWithTooltip.slots({ attributes: wrapperAttributes, + customInteractionCue: true, text: relations.linkTemplate.slots({ -- cgit 1.3.0-6-gf8a5