1jQuery(document).ready(function($) { 2 3 4 5}); 6 7var faqs = document.querySelectorAll("body.post-type-archive-question .entry-title a"); 8var i; 9console.log('faqs.length'); 10for (i = 0; i < faqs.length; i++) { 11 faqs[i].addEventListener("click", function( e ) { 12 e.preventDefault(); 13 this.parentNode.parentNode.classList.toggle("open"); 14 var faq = this.parentNode.parentNode.nextSibling.nextSibling; 15 if ( faq.style.maxHeight ) { 16 faq.style.maxHeight = null; 17 } else { 18 faq.style.maxHeight = faq.scrollHeight + "px"; 19 } 20 }); 21} 22 23 24
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.