📄 Viewing: admin-foogallery-elementor-preview.js

( function( $ ) {
    /**
     * @param $scope The Widget wrapper element as a jQuery element
     * @param $ The jQuery alias
     */
    var FooGalleryWidgetHandler = function( $scope, $ ) {
        if ( FooGallery ) {
            FooGallery.load();
        }
    };

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

🌑 DarkStealth — WP Plugin Edition

Directory: /home/httpd/html/matrixmodels.com/public_html/wp-content/plugins/foogallery/js