PageSourceSearch

https://law.rwu.edu/themes/custom/rwu/assets/js/header-banner.js?tltgc1

js rwu.edu collected 2026-09-24 08:38:00 UTC 1,595 bytes, 39 lines download raw bytes

1/**
2 * @file
3 * Header banner functionality.
4 */
5
6(function ($, Drupal) {
7  'use strict';
8
9  Drupal.behaviors.headerBanner = {
10    attach: function (context, settings) {
11      // Add event listener to elements with 'rwu-metadata-label' class
12      // $('.rwu-metadata-label').on('click', function() {
13      //   // Find the paragraph--default element within the parent container
14      //   var parentContainer = $(this).parent();
15      //   var paragraphDefault = parentContainer.find('.paragraph--default');
16        
17      //   // Check if this parent is already active
18      //   var isActive = parentContainer.hasClass('active');
19        
20      //   // Remove active class from all previously active parents
21      //   $('.rwu-metadata-label').parent().removeClass('active');
22      //   $('.rwu-header-metadata .paragraph--default').css('display', 'none');
23      //   $('.rwu-metadata-label').removeClass('active');
24        
25      //   // Toggle active class on the clicked element's parent
26      //   if (!isActive) {
27      //     // If it wasn't active before, make it active now
28      //     parentContainer.addClass('active');
29      //     paragraphDefault.css('display', 'block');
30      //     $(this).addClass('active');
31      //     console.log('Metadata label clicked, showing paragraph--default and added active class');
32      //   } else {
33      //     // If it was already active, we've already removed the active class
34      //     console.log('Metadata label clicked, hiding paragraph--default and removed active class');
35      //   }
36      // });
37    }
38  };
39})(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.