1jQuery( document ).ready( 2 function() { 3 'use strict'; 4 jQuery( 'body' ).on( 5 'change', '.islemag-big-ad-type',function(){ 6 var th = jQuery( this ); 7 if ( th.is( ':checked' ) ) { 8 if ( th.val() === 'image' ) { 9 th.parent().parent().children( '.islemag-big-ad-image' ).show(); 10 th.parent().parent().children( '.islemag-big-ad-code' ).hide(); 11 } else { 12 th.parent().parent().children( '.islemag-big-ad-image' ).hide(); 13 th.parent().parent().children( '.islemag-big-ad-code' ).show(); 14 } 15 } 16 } 17 ); 18 19 jQuery( 'body' ).on( 20 'change', '.islemag-small-ad-type',function(){ 21 var th = jQuery( this ); 22 if ( th.is( ':checked' ) ) { 23 24 if ( th.val() === 'image' ) { 25 th.parent().next().show(); 26 th.parent().next().next().hide(); 27 } else { 28 th.parent().next().hide(); 29 th.parent().next().next().show(); 30 } 31 } 32 } 33 ); 34 35 // widget dropdown 36 jQuery( 'body' ).on( 37 'click','.islemag-ad-widget-top',function(){ 38 jQuery( this ).next().slideToggle(); 39 } 40 ); 41 42 } 43); 44 45 46jQuery( document ).ajaxSuccess( 47 function() { 48 'use strict'; 49 var th = jQuery( this ); 50 if ( th.is( ':checked' ) ) { 51 if ( th.val() === 'image' ) { 52 th.parent().parent().children( '.islemag-big-ad-image' ).show(); 53 th.parent().parent().children( '.islemag-big-ad-code' ).hide(); 54 } else { 55 th.parent().parent().children( '.islemag-big-ad-image' ).hide(); 56 th.parent().parent().children( '.islemag-big-ad-code' ).show(); 57 } 58 } 59 } 60);
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.