HEX
Server: Apache
System: Linux webm005.cluster121.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: adventp (418412)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/adventp/www/wp-content/themes/brooklyn/unite/core/admin/assets/js/unite-user-meta.js
/* <![CDATA[ */
;(function($){
	
	"use strict";
	
    $(document).ready(function(){
        
        var file_frame;
 
        $('.additional-user-image').on('click', function( event ){
     
            event.preventDefault();
     
            if ( file_frame ) {
                file_frame.open();
                return;
            }

            file_frame = wp.media.frames.file_frame = wp.media({
                title: $( this ).data( 'uploader_title' ),
                button: {
                    text: $( this ).data( 'uploader_button_text' ),
                },
                multiple: false  
            });
     
            file_frame.on( 'select', function() {
                attachment = file_frame.state().get('selection').first().toJSON();     
            });     
        
            file_frame.open();
        
        });
        
    });
	
})(jQuery);
 /* ]]> */