Closed
Description
Hi,
when i added my custom submenu to my redux parent menu, the link of submenu it is not clickable because of this line in redux.js :
$( '#toplevel_page_' + redux.args.slug + ' .wp-submenu a, #wp-admin-bar-' + redux.args.slug + ' a.ab-item' ).click(
function( e ) {
if ( $( '#toplevel_page_' + redux.args.slug ).hasClass( 'wp-menu-open' ) || $( this ).hasClass( 'ab-item' ) ) {
e.preventDefault();
var url = $( this ).attr( 'href' ).split( '&tab=' );
$( '#' + url[1] + '_section_group_li_a' ).click();
return false;
}
}
);
can you please correct this ? add else if isnot redux submenu
Thank you,
Metadata
Metadata
Assignees
Labels
No labels