« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkThing.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/linkThing.js')
-rw-r--r--src/content/dependencies/linkThing.js5
1 files changed, 5 insertions, 0 deletions
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({