|
Server : Apache System : Linux box5719.bluehost.com 5.14.0-687.54.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 6 04:43:47 EDT 2026 x86_64 User : uaeambul ( 1793) PHP Version : 8.3.36 Disable Function : NONE Directory : /home1/uaeambul/www/website_00a173fa/wp-content/plugins/jetpack/3rd-party/debug-bar/ | |
|
Path: /home1/uaeambul/www/website_00a173fa/wp-content/plugins/jetpack/3rd-party/debug-bar/debug-bar.js
Size: 576 B
Permissions: 0644
/* global jQuery */
/* eslint no-var: "off" */
( function ( $ ) {
$( document ).ready( function () {
$( '.jetpack-search-debug-bar .json-toggle-wrap .toggle' ).click( function () {
var t = $( this ),
wrap = t.closest( '.json-toggle-wrap' ),
pre = wrap.find( 'pre' ),
content = pre.text(),
isPretty = wrap.hasClass( 'pretty' );
if ( ! isPretty ) {
pre.text( JSON.stringify( JSON.parse( content ), null, 2 ) );
} else {
pre.text( JSON.stringify( JSON.parse( content ) ) );
}
wrap.toggleClass( 'pretty' );
} );
} );
} )( jQuery );