[wp-trac] [WordPress Trac] #38992: Twenty Seventeen: Menu toggle doesn't work after adding a new menu item in customizer
WordPress Trac
noreply at wordpress.org
Thu Dec 1 23:48:47 UTC 2016
#38992: Twenty Seventeen: Menu toggle doesn't work after adding a new menu item in
customizer
---------------------------+-------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
---------------------------+-------------------------
Changes (by laurelfulford):
* keywords: needs-patch => has-patch
Comment:
In [attachment:38992.patch], I applied @afercia's suggestion of
simplifying the line `$( siteNavigation.closest( '.main-navigation' ),
this ).toggleClass( 'toggled-on' );`, which also appears to fix the
reported issue with the menu toggle.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38992#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list