diff options
-rw-r--r-- | src/content/dependencies/generatePreviousNextLink.js | 16 |
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), + } }); }, }; |