Uncaught type error: a[s].match is not a function
-
When I click an anchor tag the page doesn’t scroll and I’m getting this error in the console:
Uncaught TypeError: a[s].match is not a function
at HTMLDivElement.<anonymous> (page-scroll-to-id.min.js?ver=1.6.2:2)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at _scrollSpeed (page-scroll-to-id.min.js?ver=1.6.2:2)
at _scrollTo (page-scroll-to-id.min.js?ver=1.6.2:2)
at HTMLAnchorElement.<anonymous> (page-scroll-to-id.min.js?ver=1.6.2:2)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3)I get this error no matter what selectors I use.
I have tried:
a[href*=#]:not([href=#])
to pick up all anchor links.
And I have used the default:
m_PageScroll2idAnd the same Uncaught TypeError occurs.
- The topic ‘Uncaught type error: a[s].match is not a function’ is closed to new replies.