1( function( $ ) { 2 3 var pxl_widget_tabs_handler = function( $scope, $ ) { 4 $scope.find(".pxl-tabs.tab-effect-slide .pxl-item--title").on("click", function(e){ 5 e.preventDefault(); 6 var target = $(this).data("target"); 7 var parent = $(this).parents(".pxl-tabs"); 8 parent.find(".pxl-tabs--content .pxl-item--content").slideUp(300); 9 parent.find(".pxl-tabs--title .pxl-item--title").removeClass('active'); 10 $(this).addClass("active"); 11 $(target).slideDown(300); 12 }); 13 14 $scope.find(".pxl-tabs.tab-effect-fade .pxl-item--title").on("click", function(e){ 15 e.preventDefault(); 16 var target = $(this).data("target"); 17 var parent = $(this).parents(".pxl-tabs"); 18 parent.find(".pxl-tabs--content .pxl-item--content").removeClass("active"); 19 parent.find(".pxl-tabs--title .pxl-item--title").removeClass('active'); 20 $(this).addClass("active"); 21 $(target).addClass("active"); 22 }); 23 }; 24 $('.change-info .info-1').addClass('active'); 25 $( window ).on( 'elementor/frontend/init', function() { 26 elementorFrontend.hooks.addAction( 'frontend/element_ready/pxl_tabs.default', pxl_widget_tabs_handler ); 27 } ); 28 29} )( jQuery );
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.