Support » Theme: Twenty Nineteen » Javascript error (touch-keyboard-navigation.js)

  • Resolved anotherbreed

    (@anotherbreed)


    Hi there,

    I’m using twenty nineteen, and just noticed that I have an error in my javascript debugger (using Firefox 67.0.4 on Windows 10):

    TypeError: event.target.matches is not a function
        toggleSubmenuDisplay https://www.mysite.com/wp-content/themes/twentynineteen/js/touch-keyboard-navigation.js?ver=1.1:277

    Not sure what is not working or why I get this error, any idea to get rid of it would be appreciated. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you show us your site? I don’t see that issue on the theme demo

    Hi Andrew,

    thanks for your fast reply! Never mind, I’ve realized that it only happens when I have the inspector open and click somewhere in the source code and after that, I click somewhere on my website.

    It won’t be a problem for visitors I guess.

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.