1 2jQuery( function($) { 3 if( $( '.advertisement.advertisement-fixed-top' ).length > 0 ) { 4 if( $( '.advertisement.advertisement-fixed-top' ).html().trim().length == 0 ) { 5 $( '.advertisement.advertisement-fixed-top' ).addClass( 'd-none' ); 6 } 7 } 8} ); 9 10jQuery( function($) { 11 if( $( '.advertisement.advertisement-fixed-top' ).length > 0 ) { 12 if( $( '.advertisement.advertisement-fixed-bottom' ).html().trim().length == 0 ) { 13 $( '.advertisement.advertisement-fixed-bottom' ).addClass( 'd-none' ); 14 } 15 } 16} ); 17 18// ----------------------------------------------- 19 20jQuery( function($) { 21 if( $( '.advertisement.advertisement-fixed-top' ).length > 0 ) { 22 $(window).on('load resize', function(){ 23 if( $( '.advertisement.advertisement-fixed-top' ).outerHeight(true) > 0 ) { 24 $( 'body' ).css( 'margin-top', $( '.advertisement.advertisement-fixed-top' ).outerHeight(true) ); 25 } 26 }); 27 } 28} ); 29 30jQuery( function($) { 31 if( $( '.advertisement.advertisement-fixed-top' ).length > 0 ) { 32 $(window).on('load resize', function(){ 33 if( $( '.advertisement.advertisement-fixed-bottom' ).outerHeight(true) > 0 ) { 34 $( 'body' ).css( 'margin-bottom', $( '.advertisement.advertisement-fixed-bottom' ).outerHeight(true) ); 35 } 36 }); 37 } 38} );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.