child selector
This commit is contained in:
parent
a86403f884
commit
9652d881f9
|
@ -27,7 +27,7 @@ jQuery( function ( $ ) {
|
|||
}
|
||||
});
|
||||
|
||||
$( '.wc-metaboxes-wrapper' ).on( 'click', '.wc-metabox h3', function( event ) {
|
||||
$( '.wc-metaboxes-wrapper' ).on( 'click', '.wc-metabox > h3', function( event ) {
|
||||
$( this ).parent( '.wc-metabox' ).toggleClass( 'closed' ).toggleClass( 'open' );
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue