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 var linkElement = $('<a>', { 22 id: 'make-column-clickable-open-dynamic', 23 style: 'display: none !important;', 24 href: url, 25 text: 'Open dynamic content' 26 }); 27 wrapper.append( linkElement ); 28 } 29 30 wrapper.find( '#make-column-clickable-open-dynamic' ).click(); 31 32 return true; 33 } 34 35 return true; 36 } 37 38 // smooth scroll 39 if ( url.match( "^#" ) ) { 40 var hash = url; 41 42 $( 'html, body' ).animate( { 43 scrollTop: $( hash ).offset().top 44 }, 800, function() { 45 window.location.hash = hash; 46 }); 47 48 return true; 49 } 50 51 window.open( url, wrapper.data( 'column-clickable-blank' ) ); 52 return false; 53 } 54 }); 55});
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.