PageSourceSearch

https://www.telehouse.net/wp-content/cache/min/1/wp-content/themes/uncode/js/accordion-fixer.js?ver=1790773605

js telehouse.net collected 2026-10-02 04:54:15 UTC 1,092 bytes, 4 lines download raw bytes

1function fixAccordionIds(){console.log('Fixing accordion IDs...');const accordions=document.querySelectorAll('.wpb_accordion_wrapper');let totalFixed=0;accordions.forEach((accordion,accordionIndex)=>{const panels=accordion.querySelectorAll('.wpb_accordion_section');panels.forEach((panel,panelIndex)=>{const newId=`accordion-${accordionIndex}-panel-${panelIndex}`;const collapsePanel=panel.querySelector('.panel-collapse');if(collapsePanel){const oldId=collapsePanel.id;collapsePanel.id=newId;const toggleLink=panel.querySelector('a[data-toggle="collapse"]');if(toggleLink){toggleLink.href='#'+newId;toggleLink.setAttribute('aria-controls',newId)}
2collapsePanel.setAttribute('aria-labelledby','heading-'+newId);totalFixed++;console.log(`Fixed: ${oldId} → ${newId}`)}})});console.log(`Total accordion panels fixed: ${totalFixed}`)}
3if(typeof jQuery!=='undefined'){jQuery(document).ready(function($){fixAccordionIds()})}else{if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',fixAccordionIds)}else{fixAccordionIds()}}
4window.fixWPBakeryAccordions=fixAccordionIds

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.