1jQuery(document).ready(function ($) { 2 $('.achang-addqa-question').on('click', function () { 3 var $button = $(this); 4 // å çºæéç¾å¨è¢«å å¨ h3 裡é¢ï¼æä»¥è¦éæ°å°æ¾ content çä½ç½® 5 var $content = $button.closest('.achang-addqa-item').find('.achang-addqa-answer'); 6 var isExpanded = $button.attr('aria-expanded') === 'true'; 7 8 // Toggle current 9 $button.attr('aria-expanded', !isExpanded); 10 $button.toggleClass('active'); 11 $content.slideToggle().prop('hidden', isExpanded); 12 }); 13 14 // Auto expand is now handled server-side in PHP to avoid flickering and cache issues. 15 // The JS trigger is no longer needed. 16});
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.