We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47c8dd7 commit ae6150eCopy full SHA for ae6150e
src/pagination.js
@@ -68,7 +68,7 @@ function pagination (vm, { crossChapter, routerMode }) {
68
const path = routerMode === ROUTER_MODE.HISTORY ?
69
vm.route.path :
70
`#${vm.route.path}`
71
- const all = toArray(query.all('.sidebar li a')).filter((element) => !matches(element, '.section-link'))
+ const all = toArray(query.all('.sidebar-nav li a')).filter((element) => !matches(element, '.section-link'))
72
const active = all.find(isALinkTo(path))
73
const group = toArray((closest(active, 'ul') || {}).children)
74
.filter((element) => element.tagName.toUpperCase() === 'LI')
0 commit comments