LittleDemon WebShell


Linux hkvL61zh9Vexzf 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64
Path : /www/wwwroot/fashion-kingdom.com/wp-content/plugins/kitify/assets/js/addons/
File Upload :
Command :
Current File : /www/wwwroot/fashion-kingdom.com/wp-content/plugins/kitify/assets/js/addons/nova-menu.js

( function( $, elementor ) {

    "use strict";

    $( window ).on( 'elementor/frontend/init', function (){
        elementor.hooks.addAction( 'frontend/element_ready/kitify-nova-menu.default', function ( $scope ){
            if ( $scope.data( 'initialized' ) ) {
                return;
            }

            $scope.data( 'initialized', true );

            var mobileActiveClass = 'kitify-mobile-menu-active',
                _has_mobile_bkp   = false;

            if($scope.find('.kitify-nova-mobile-menu').length){
                _has_mobile_bkp = $scope.find('.kitify-nova-mobile-menu').data('mobile-breakpoint');
            }

            function checkActiveMobileTrigger(){
                if(_has_mobile_bkp !== false && $(window).width() <= _has_mobile_bkp){
                    $scope.find('.kitify-nova-mobile-menu').addClass('kitify-active--mbmenu');
                }
                else{
                    $scope.find('.kitify-nova-mobile-menu').removeClass('kitify-active--mbmenu');
                }
            }
            checkActiveMobileTrigger();
            $(window).on('resize', checkActiveMobileTrigger);

        } );
    } );

}( jQuery, window.elementorFrontend ) );

LittleDemon - FACEBOOK
[ KELUAR ]