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 0ce2126 commit ce3f4feCopy full SHA for ce3f4fe
src/pagination.js
@@ -19,7 +19,7 @@ function toArray (elements) {
19
return Array.prototype.slice.call(elements)
20
}
21
function findHyperlink (li) {
22
- return toArray(li.children).find((child) => child.tagName && child.tagName.toUpperCase() === 'A')
+ return query('a', li)
23
24
function isALinkTo (path, element) {
25
if (arguments.length === 1) {
0 commit comments