[wp-trac] [WordPress Trac] #46474: Twenty Nineteen: function matches() does not exist

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


#46474: Twenty Nineteen: function matches() does not exist
------------------------------+-----------------------
 Reporter:  janpaulkleijn     |       Owner:  audrasjb
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.3
Component:  Bundled Theme     |     Version:  5.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 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/46474#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list