« get me outta code hell

content: generate{Absolute,Relative}Datetimestamp: always tooltip - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateNewsEntryReadAnotherLinks.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-10-21 15:46:42 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-10-21 15:46:42 -0300
commitdb1f23ae99a4ae45a95d5da40e44158c5b74d4dd (patch)
treef473b18bd59905147b0666deb75b847e26d34123 /src/content/dependencies/generateNewsEntryReadAnotherLinks.js
parent7b812859143997592387a794ececcecf618b9e0b (diff)
content: generate{Absolute,Relative}Datetimestamp: always tooltip
Diffstat (limited to 'src/content/dependencies/generateNewsEntryReadAnotherLinks.js')
-rw-r--r--src/content/dependencies/generateNewsEntryReadAnotherLinks.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/content/dependencies/generateNewsEntryReadAnotherLinks.js b/src/content/dependencies/generateNewsEntryReadAnotherLinks.js
index a985742b..1f6ee6d4 100644
--- a/src/content/dependencies/generateNewsEntryReadAnotherLinks.js
+++ b/src/content/dependencies/generateNewsEntryReadAnotherLinks.js
@@ -49,10 +49,7 @@ export default {
       if (relations.previousEntryDatetimestamp) {
         parts.push('withDate');
         options.date =
-          relations.previousEntryDatetimestamp.slots({
-            style: 'full',
-            tooltip: true,
-          });
+          relations.previousEntryDatetimestamp.slot('style', 'full');
       }
 
       entryLines.push(language.$(...parts, options));
@@ -67,10 +64,7 @@ export default {
       if (relations.nextEntryDatetimestamp) {
         parts.push('withDate');
         options.date =
-          relations.nextEntryDatetimestamp.slots({
-            style: 'full',
-            tooltip: true,
-          });
+          relations.nextEntryDatetimestamp.slot('style', 'full');
       }
 
       entryLines.push(language.$(...parts, options));