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/wrapper-links.js

;(function( $ ) {
    var $window = $(window);

    $window.on('elementor/frontend/init', function() {
        $('body').on('click.onWrapperLink', '[data-kitify-element-link]', function() {
            var $wrapper = $(this),
                data     = $wrapper.data('kitify-element-link'),
                id       = $wrapper.data('id'),
                anchor   = document.createElement('a'),
                anchorReal;

            anchor.id            = 'kitify-wrapper-link-' + id;
            anchor.href          = data.url;
            anchor.target        = data.is_external ? '_blank' : '_self';
            anchor.rel           = data.nofollow ? 'nofollow noreferer' : '';
            anchor.style.display = 'none';

            document.body.appendChild(anchor);

            anchorReal = document.getElementById(anchor.id);
            anchorReal.click();
            anchorReal.remove();
        });
    });

}( jQuery ));

LittleDemon - FACEBOOK
[ KELUAR ]