[wp-trac] [WordPress Trac] #57915: Navigation links starting with /# don't close hamburger navigation menu on mobile
WordPress Trac
noreply at wordpress.org
Mon Mar 13 19:20:00 UTC 2023
#57915: Navigation links starting with /# don't close hamburger navigation menu on
mobile
--------------------------+------------------------------
Reporter: asafm7 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by asafm7):
I misunderstood the if logic. Only the !t.includes("#") solution will work
(replacing !t.startsWith("#"))
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57915#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list