« 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/generatePreviousNextLink.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/generatePreviousNextLink.js')
-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),
+      }
     });
   },
 };