1jQuery( function( $ ) { 2 $( document ).on( 'click', 'body:not(.elementor-editor-active) .make-column-clickable-elementor', function( e ) { 3 var wrapper = $( this ), 4 url = wrapper.data( 'column-clickable' ); 5 6 if ( url ) { 7 if ( $( e.target ).filter( 'a, a *, .no-link, .no-link *' ).length ) { 8 return true; 9 } 10 11 // handle elementor actions 12 if ( url.match( "^#elementor-action" ) ) { 13 14 var hash = url; 15 var hash = decodeURIComponent( hash ); 16 17 // if is Popup 18 if ( hash.includes( "elementor-action:action=popup:open" ) || hash.includes( "elementor-action:action=lightbox" ) ) { 19 20 if ( 0 === wrapper.find( '#make-column-clickable-open-dynamic' ).length ) { 21 wrapper.append( '<a id="make-column-clickable-open-dynamic" style="display: none !important;" href="' + url + '">Open dynamic content</a>' ); 22 } 23 24 wrapper.find( '#make-column-clickable-open-dynamic' ).click(); 25 26 return true; 27 } 28 29 return true; 30 } 31 32 // smooth scroll 33 if ( url.match( "^#" ) ) { 34 var hash = url; 35 36 $( 'html, body' ).animate( { 37 scrollTop: $( hash ).offset().top 38 }, 800, function() { 39 window.location.hash = hash; 40 }); 41 42 return true; 43 } 44 45 window.open( url, wrapper.data( 'column-clickable-blank' ) ); 46 return false; 47 } 48 }); 49});
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.