HEX
Server: Apache
System: Linux webd006.cluster128.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: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/locationdebateau/wp-content/plugins/buddypress/bp-members/admin/js/signup-preview.js
/* global bpSignupPreview */
/**
 * Opens a modal to preview a signup/membership request.
 *
 * @since 10.0.0
 */
( function( $ ) {
	// Bail if not set or if Thickbox is not available.
	if ( typeof bpSignupPreview === 'undefined' || 'function' !== typeof window.tb_show ) {
		return;
	}

	$( function() {
		$( '.bp-thickbox' ).on( 'click', function( e ) {
			e.preventDefault();

			var fragment = $( e.target ).prop( 'href' ).split( '#TB_inline&' )[1];

			window.tb_show( 'BuddyPress', '#TB_inline?' + fragment );
			window.bpAdjustThickbox( bpSignupPreview.modalLabel, '1em' );
		} );
	} );
}( jQuery ) );