HOME


Mini Shell 1.0
DIR: /home/otwalrll/.trash/wp-content.1/themes/consultio/elementor/js/
Upload File :
Current File : /home/otwalrll/.trash/wp-content.1/themes/consultio/elementor/js/ct-angle.js
( function( $ ) {
    /**
     * @param $scope The Widget wrapper element as a jQuery element
     * @param $ The jQuery alias
     */
    var WidgetCTIlineHandler = function( $scope, $ ) {

        $('.elementor > .elementor-element').each(function () {
            var _el_angle = $(this).find(".ct-angle"),
                _el_angle_remove = $(this).find(".elementor-column .ct-angle"),
                _row_angle = _el_angle.parents(".elementor-container");
            _row_angle.before(_el_angle.clone());
            _el_angle_remove.remove();
        });

    };

    // Make sure you run this code under Elementor.
    $( window ).on( 'elementor/frontend/init', function() {
        elementorFrontend.hooks.addAction( 'frontend/element_ready/ct_angle.default', WidgetCTIlineHandler );
    } );
} )( jQuery );