forked from mirror/_s
_s: Adding a class to the menu toggle for help in styling open-close states with just CSS
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8878 d957f892-c61d-0410-b221-f235e6eecf30
This commit is contained in:
parent
e4a5c76fd6
commit
349e3f973e
|
@ -8,6 +8,7 @@ jQuery( document ).ready( function( $ ) {
|
|||
|
||||
$( '.menu-toggle' ).click( function () {
|
||||
$( $masthead ).find( '.menu' ).toggle();
|
||||
$( this ).toggleClass( 'toggled-on' );
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue