1/** 2 * @file 3 * A JavaScript file for the theme. 4 **/ 5 6(function (Drupal, $) { 7 'use strict'; 8 9 // To understand behaviors, see https://www.drupal.org/node/2269515 10 Drupal.behaviors.basic = { 11 attach: function (context, settings) { 12 13 // Execute code once the DOM is ready. $(handler) not required 14 // within Drupal.behaviors. 15 $(window).on('load', function () { 16 // Execute code once the window is fully loaded. 17 $("tr:odd").addClass("odd"); 18 $(".usss-foia-wrap .views-row:odd").addClass("odd"); 19 $("h2#block-af1-footer-2-menu").remove(); 20 $( "div.grid-row:has(aside)" ).addClass( "page-wrap" ); 21 22 // Add role = presentation to google search box for 508 purposes 23 $('.header-inner .gsc-search-box').attr("role", "presentation"); 24 $('.header-inner .gsc-input').attr("role", "presentation"); 25 26 // Remove font tag in all press releases 27 $('.node--type-press-release font').contents().unwrap(); 28 29 // Remove <center> tag 30 $('center').contents().unwrap(); 31 32 }); 33 34 $(window).resize(function () { 35 // Execute code when the window is resized. 36 }); 37 38 $(window).scroll(function () { 39 // Execute code when the window scrolls. 40 }); 41 } 42 }; 43 44})(Drupal, jQuery);
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.