1jQuery(document).ready(function($){ 2 /*Script fecha accordion mobile*/ 3 if(window.outerWidth < 1025) { 4 var delay = 200; 5 var $accordionMobileAttr = $('div[data-accordion="mobile"] .elementor-accordion .elementor-accordion-item div[style]'); 6 var $accordionMobileStyle = $('div[data-accordion="mobile"] .elementor-tab-title'); 7 setTimeout(function() { 8 $accordionMobileAttr.removeAttr('style'); 9 $accordionMobileStyle.removeClass('elementor-active'); 10 }, delay); 11 } 12}); 13 14 15//Accordion Extensão 16var accItem = document.getElementsByClassName('accordionItem'); 17var accHD = document.getElementsByClassName('accordionItemHeading'); 18for (i = 0; i < accHD.length; i++) { 19 accHD[i].addEventListener('click', toggleItem, false); 20} 21function toggleItem() { 22 var itemClass = this.parentNode.className; 23 for (i = 0; i < accItem.length; i++) { 24 accItem[i].className = 'accordionItem close'; 25 } 26 if (itemClass == 'accordionItem close') { 27 this.parentNode.className = 'accordionItem open'; 28 } 29}
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.