function trx_addons_woocommerce_resize_actions() {
        "use strict";
        var cat_menu = jQuery('body:not(.woocommerce) .widget_area:not(.footer_wrap) .widget_product_categories ul.product-categories');
        var sb = cat_menu.parents('.widget_area');
        if (sb.length > 0 && cat_menu.length > 0) {
            if (sb.width() == sb.parents('.content_wrap').width()) {
                if (cat_menu.hasClass('inited')) {
                    cat_menu.removeClass('inited').addClass('plain').superfish('destroy');
                    cat_menu.find('ul.animated').removeClass('animated').addClass('no_animated');
                }
            } else {
                if (!cat_menu.hasClass('inited')) {
                    cat_menu.removeClass('plain').addClass('inited');
                    cat_menu.find('ul.no_animated').removeClass('no_animated').addClass('animated');
                    basekit_init_sfmenu('body:not(.woocommerce) .widget_area:not(.footer_wrap) .widget_product_categories ul.product-categories');
                }
            }
        }
    }
// Switch popup menu / hierarchical list on product categories list placed in sidebar
Switch popup menu / hierarchical list on product categories list placed in sidebar
Switch popup menu / hierarchical list on product categories list placed in sidebar
function trx_addons_woocommerce_resize_actions() {
        "use strict";
        var cat_menu = jQuery('body:not(.woocommerce) .widget_area:not(.footer_wrap) .widget_product_categories ul.product-categories');
        var sb = cat_menu.parents('.widget_area');
        if (sb.length > 0 && cat_menu.length > 0) {
            if (sb.width() == sb.parents('.content_wrap').width()) {
                if (cat_menu.hasClass('inited')) {
                    cat_menu.removeClass('inited').addClass('plain').superfish('destroy');
                    cat_menu.find('ul.animated').removeClass('animated').addClass('no_animated');
                }
            } else {
                if (!cat_menu.hasClass('inited')) {
                    cat_menu.removeClass('plain').addClass('inited');
                    cat_menu.find('ul.no_animated').removeClass('no_animated').addClass('animated');
                    basekit_init_sfmenu('body:not(.woocommerce) .widget_area:not(.footer_wrap) .widget_product_categories ul.product-categories');
                }
            }
        }
    }
function trx_addons_woocommerce_resize_actions ( ) { "use strict" ; var cat_menu = jQuery ( 'body:not(.woocommerce) .widget_area:not(.footer_wrap) .widget_product_categories ul.product-categories' ) ; var sb = cat_menu . parents ( '.widget_area' ) ; if ( sb . length > 0 && cat_menu . length > 0 ) { if ( sb . width ( ) == sb . parents ( '.content_wrap' ) . width ( ) ) { if ( cat_menu . hasClass ( 'inited' ) ) { cat_menu . removeClass ( 'inited' ) . addClass ( 'plain' ) . superfish ( 'destroy' ) ; cat_menu . find ( 'ul.animated' ) . removeClass ( 'animated' ) . addClass ( 'no_animated' ) ; } } else { if ( ! cat_menu . hasClass ( 'inited' ) ) { cat_menu . removeClass ( 'plain' ) . addClass ( 'inited' ) ; cat_menu . find ( 'ul.no_animated' ) . removeClass ( 'no_animated' ) . addClass ( 'animated' ) ; basekit_init_sfmenu ( 'body:not(.woocommerce) .widget_area:not(.footer_wrap) .widget_product_categories ul.product-categories' ) ; } } } }
Switch popup menu / hierarchical list on product categories list placed in sidebar
Switch popup menu / hierarchical list on product categories list placed in sidebar