Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #49025, comment 2


Ignore:
Timestamp:
04/22/2020 05:08:23 PM (6 years ago)
Author:
anonymized_14254218
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49025, comment 2

    v2 v3  
    11I found the issue. It was related to the Menu Image (https://de.wordpress.org/plugins/menu-image/) plugin since it creates `span` elements within the `a` link elements of the menu if images are present.
    22
    3 This would then trigger the click event on the `span` instead of the `a` resulting in `'a' === target.tagName.toLowerCase()` returning `false`.
     3This would then trigger the click event on the `span` instead of the `a` resulting in `'a' !== target.tagName.toLowerCase()`.
    44
    55my temporary solution looks like this: