1; 2(function ($) { 3 "use strict"; 4 5 var buttonAction = function ($scope, $) { 6 $('.js-button-onclick').on('click', function() { 7 $('.js-button-onclick').removeClass("active") 8 $(this).addClass("active") 9 var buttonId = $(this).attr('id'); 10 if (buttonId=="all"){ 11 $('.js-content-item').show(); 12 } 13 else { 14 $('.js-content-item').hide(); 15 $('.'+buttonId).show(); 16 } 17 18 }); 19 20 }; 21 22 23 $(window).on('elementor/frontend/init', function () { 24 elementorFrontend.hooks.addAction('frontend/element_ready/button-list.default', buttonAction); 25 }); 26})(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.