PageSourceSearch

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

js hologic.es collected 2026-10-08 20:33:06 UTC 710 bytes, 31 lines download raw bytes

1/**
2 * @file
3 */
4
5(function($, Drupal, drupalSettings, once) {
6
7  'use strict';
8
9  /**
10   * Use custom elements in Tabs component navigation.
11   */
12  Drupal.behaviors.Tabs = {
13    attach: function (context, settings) {
14
15      $(once('tabs', '.tabs-container-with-buttons', context)).each(function() {
16        const $tabsContainer = $(this);
17
18        $(document).ready(function() {
19          const $navItems = $('.coh-accordion-tabs-nav a', $tabsContainer);
20          const $tabButtons = $('.tab-item-button', $tabsContainer);
21
22          $navItems.each(function(i) {
23            $(this).empty().append($tabButtons[i]);
24          });
25         });
26      });
27
28    }
29  };
30
31})(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.