PageSourceSearch

https://www.hologic.es/themes/custom/hologic/global/js/references.js?tm4wcr

js hologic.es collected 2026-10-08 20:33:05 UTC 742 bytes, 23 lines download raw bytes

1(function($, Drupal, drupalSettings, once){
2  "use strict";
3
4  Drupal.behaviors.References = {
5    attach: function (context, settings) {
6        $(once('hologic', '.coh-component-references-accordion', context)).each(function() {
7          let $this = $(this);
8          let $title = $('.coh-accordion-title a', $this);
9          $('a', $this).each(function() {
10            let id = $(this).attr('id');
11            if (id !== undefined) {
12              $('a[href="#' + id + '"]').on('click', function () {
13                if ($title.attr('aria-expanded') === 'false') {
14                  $title.trigger('click');
15                }
16              });
17            }
18          });
19      });
20    }
21  };
22
23})(jQuery, Drupal, drupalSettings, once);

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.