1jQuery( function( $ ) { 2 "use strict"; 3 /* Ultimate Addons for WPBakery Page Builder integration */ 4 jQuery( '.upb_bg_img, .upb_color, .upb_grad, .upb_content_iframe, .upb_content_video, .upb_no_bg' ).each( function() { 5 var $bg = jQuery( this ), 6 $prev = $bg.prev(); 7 8 if ( $prev.length == 0 ) { 9 var $parent = $bg.parent(), 10 $parentParent = $parent.parent(), 11 $prevParentParent = $parentParent.prev(); 12 13 if ( $prevParentParent.length ) { 14 $bg.insertAfter( $prevParentParent ); 15 16 if ( $parent.children().length == 0 ) { 17 $parentParent.remove(); 18 } 19 } 20 } 21 } ); 22 $( '.g-cols > .ult-item-wrap' ).each( function( index, elm ) { 23 var $elm = jQuery( elm ); 24 $elm.replaceWith( $elm.children() ); 25 } ); 26 jQuery( '.overlay-show' ).click( function() { 27 window.setTimeout( function() { 28 $us.$canvas.trigger( 'contentChange' ); 29 }, 1000 ); 30 } ); 31} );
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.