1jQuery(function($){ 2 $(document).ready(function(){ 3 4 $('.hrf-title').click(function(){ 5 6 // These edits were made to fix the bug which was caused when same faq article appeared multiple times on a page. 7 // It happened because data-content id could have same value. Now that we are using next() 8 // it will not break the toggle functionality 9 10 var faqcontent = $(this).next('.hrf-content'); 11 faqcontent.slideToggle(); 12 13 14 15 $(this).toggleClass(function(){ 16 if( $(this).is('.close-faq')){ 17 return 'open-faq'; 18 }else{ 19 return 'close-faq'; 20 } 21 22 }); 23 }); //.hrf-title click 24 }); 25 26});
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.