« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/content/dependencies/generatePreviousNextLink.js16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/content/dependencies/generatePreviousNextLink.js b/src/content/dependencies/generatePreviousNextLink.js
index 1c1bf27c..afae1228 100644
--- a/src/content/dependencies/generatePreviousNextLink.js
+++ b/src/content/dependencies/generatePreviousNextLink.js
@@ -44,13 +44,15 @@ export default {
       }
     }
 
-    return slots.link.slots({
-      tooltipStyle: 'browser',
-      color: false,
-      attributes,
-
-      content:
-        language.$('misc.nav', slots.direction),
+    return html.resolve(slots.link, {
+      slots: {
+        tooltipStyle: 'browser',
+        color: false,
+        attributes,
+
+        content:
+          language.$('misc.nav', slots.direction),
+      }
     });
   },
 };