Support » Plugin: Page scroll to id » Uncaught type error: a[s].match is not a function

  • Resolved jodamo5

    (@jodamo5)


    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_PageScroll2id

    And the same Uncaught TypeError occurs.

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Uncaught type error: a[s].match is not a function’ is closed to new replies.