1"use strict"; 2 3// Adds a class to the body if there's a block search on partnerships page allowing layout shifting to put filters first on mobile. 4(function ($, Drupal) { 5 $(function () { 6 if (document.body.classList.contains('section-partnerships') && document.querySelector('.block-views-block--sitewide-search-block-partnerships-search')) { 7 var viewSearchParent = document.querySelector('.block-views-block--sitewide-search-block-partnerships-search').parentElement.parentElement; 8 viewSearchParent.classList.add('search-page'); 9 } 10 }); 11})(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.