PageSourceSearch

https://www.unisannio.it/core/misc/details-aria.js?v=9.4.7

js unisannio.it collected 2026-09-24 09:21:34 UTC 606 bytes, 21 lines download raw bytes

1/**
2* DO NOT EDIT THIS FILE.
3* See the following change record for more information,
4* https://www.drupal.org/node/2815083
5* @preserve
6**/
7
8(function ($, Drupal) {
9  Drupal.behaviors.detailsAria = {
10    attach: function attach() {
11      $(once('detailsAria', 'body')).on('click.detailsAria', 'summary', function (event) {
12        var $summary = $(event.currentTarget);
13        var open = $(event.currentTarget.parentNode).attr('open') === 'open' ? 'false' : 'true';
14        $summary.attr({
15          'aria-expanded': open,
16          'aria-pressed': open
17        });
18      });
19    }
20  };
21})(jQuery, Drupal);

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.