PageSourceSearch

https://jryen.com/wp-content/plugins/achangAddQA/assets/js/achang-addqa-public.js?ver=1787559158

js jryen.com collected 2026-10-07 15:00:32 UTC 716 bytes, 16 lines download raw bytes

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.