nk-crew / ghostkit

Gutenberg blocks for WordPress

Home Page:https://www.ghostkit.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tabs Event Handling does not work properly

pascalknecht opened this issue · comments

With the following code I would expect the activated tab to be logged on click.

jQuery(document).on('activateTab.ghostkit', function(e, tab) {
    console.log(tab);
});

But only the following information is logged:
image

Try this one:

jQuery( document ).on( 'activateTab.ghostkit', function( e, classObject, $item ) {
    console.log( $item );
} );