HEX
Server: LiteSpeed
System: Linux php-prod-3.spaceapp.ru 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: sarli3128 (1010)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/sarlight.ru/public_html/wp-content/plugins/bold-page-builder/script_fe.js
(function( $ ) {
	$( document ).ready(function() {
		$( '.bt_bb_fe_count' ).click(function( e ) {
			var order = $( this ).find( '.bt_bb_fe_count_inner' ).html();
			if ( window != window.top ) { // iframe
				$( '.bt_bb_front_end_preview_close', window.parent.document ).click();
				$( 'html, body', window.parent.document ).animate({
					scrollTop: $( '.bt_bb_item_list', window.parent.document ).children().eq( order - 1 ).offset().top - $( '#wpadminbar', window.parent.document ).height()
				}, 500 );
			} else {
				if ( $( this ).find( '.bt_bb_fe_count_inner' ).data( 'edit_url' ) !== undefined ) {
					window.location.replace( $( this ).find( '.bt_bb_fe_count_inner' ).data( 'edit_url' ) + '&bt_bb_order=' + order );
				} else {
					window.location.replace( $( '#wp-admin-bar-edit .ab-item' ).attr( 'href' ) + '&bt_bb_order=' + order );
				}
			}
		});
		
		var bt_bb_fe_preview_toggle = localStorage.getItem( 'bt_bb_fe_preview_toggle' );
		if ( bt_bb_fe_preview_toggle == 'true' ) {
			$( 'body' ).addClass( 'bt_bb_fe_preview_toggle' );
		} else {
			$( 'body' ).removeClass( 'bt_bb_fe_preview_toggle' );
		}

		$( '.bt_bb_fe_preview_toggler' ).on( 'click', function ( e ) {
			e.stopPropagation();
			$( 'body' ).toggleClass( 'bt_bb_fe_preview_toggle' );
			var has_class = false;
			if ( $( 'body' ).hasClass( 'bt_bb_fe_preview_toggle' ) ) {
				has_class = true;
			}
			localStorage.setItem( 'bt_bb_fe_preview_toggle', has_class );
		});

	});
}( jQuery ));