|
Server : LiteSpeed System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64 User : gazetufm ( 1431) PHP Version : 8.1.35 Disable Function : NONE Directory : /home2/gazetufm/public_html/wp/wp-content/plugins/wp-smushit/_src/js/modules/ | |
|
Path: //home2/gazetufm/public_html/wp/wp-content/plugins/wp-smushit/_src/js/modules/admin-common.js
Size: 512 B
Permissions: 0644
jQuery(function ($) {
'use strict';
/**
* Handle the Smush Stats link click
*/
$( 'body' ).on( 'click', 'a.smush-stats-details', function ( e ) {
// If disabled
if ( $( this ).prop( 'disabled' ) ) {
return false;
}
e.preventDefault();
const $link = $( this );
const $wrapper = $link.parents().eq( 1 ).find( '.smush-stats-wrapper' );
// Toggle expanded state
$link.toggleClass( 'smush-stats-expanded' );
$wrapper.slideToggle();
} );
});