[wp-trac] [WordPress Trac] #45903: Twenty Nineteen: Some menu clicks trigger console errors

WordPress Trac noreply at wordpress.org
Wed Jun 21 21:30:41 UTC 2023


#45903: Twenty Nineteen: Some menu clicks trigger console errors
-------------------------------------------------+-------------------------
 Reporter:  kjellr                               |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Bundled Theme                        |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch needs-     |     Focuses:  javascript
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by audrasjb):

 In [changeset:"55970" 55970]:
 {{{
 #!CommitTicketReference repository="" revision="55970"
 Twenty Nineteen: Prevent a console error related to the main navigation on
 Firefox.

 This changeset improves a JS conditional statement to fix a console error
 thrown by Firefox on `event.target.matches`.

 Props kjellr, laurelfulford, audrasjb, dimijazz, ianbelanger, pbiron,
 poena, McAlyster, janpaulkleijn, swissspidy, mukesh27, rehanali.
 Fixes #46474.
 See #45903 (fixes one of the two issues of this ticket).
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45903#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list