| Server IP : 178.212.43.201 / Your IP : 10.100.0.33 Web Server : Apache/2.4.37 (Oracle Linux Server) OpenSSL/1.1.1k System : Linux spa0007.srv.paxillus.pl 5.4.17-2136.355.3.1.el8uek.x86_64 #3 SMP Sat May 9 17:11:55 PDT 2026 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/paxillus/wp-content/plugins/jetpack/_inc/ |
Upload File : |
( function ( $ ) {
///////////////////////////////////////
// INIT
///////////////////////////////////////
$( document ).ready( function () {
initEvents();
configFixedElements();
} );
///////////////////////////////////////
// FUNCTIONS
///////////////////////////////////////
function configFixedElements() {
var jpTopFrame = $( '.frame.top' ),
jpBottomFrame = $( '.frame.bottom' ),
$body = $( 'body' );
$body.scroll( function () {
if ( 33 > jpTopFrame.offset().top ) {
jpTopFrame.addClass( 'fixed' );
$body.addClass( 'jp-frame-top-fixed' );
}
if ( 120 <= jpBottomFrame.offset().top ) {
jpTopFrame.removeClass( 'fixed' );
$body.removeClass( 'jp-frame-top-fixed' );
}
} );
$( 'table.jetpack-modules', jpBottomFrame ).addClass( 'with-transparency' );
$( '.manage-left', jpBottomFrame ).css( 'width', '' );
$( '.manage-right', jpBottomFrame ).show();
}
function initEvents() {
// toggle search and filters at mobile resolution
$( '.filter-search' ).on( 'click', function () {
$( this ).toggleClass( 'active' );
$( '.manage-right' ).toggleClass( 'show' );
$( '.shade' ).toggle();
} );
// Toggle all checkboxes
$( '.checkall' ).on( 'click', function () {
$( '.table-bordered' ).find( ':checkbox' ).not( ':disabled' ).prop( 'checked', this.checked );
} );
// Clicking outside modal, or close X closes modal
$( '.shade, .modal .close' ).on( 'click', function ( event ) {
$( '.shade, .modal' ).hide();
$( '.manage-right' ).removeClass( 'show' );
event.preventDefault();
} );
}
} )( jQuery );