PageSourceSearch

https://www.ccpl.org/sites/default/files/stacks_style_editor/js_ov…e6f32778f10e865c5ce8fb__js_override.js?v=17

js ccpl.org collected 2026-09-24 09:28:09 UTC 1,441 bytes, 4 lines download raw bytes

1(function($,Drupal){Drupal.behaviors.jsOverride={attach:function(context,settings){          const mobileMenu=document.querySelector('.mobile-main-menu .menu-main .menu-parent:not(.processed)');     if(mobileMenu){       const mainNav=document.querySelector('.main-nav-primary .menu-main .menu-parent');       if(mainNav){         const mainNavClone=mainNav.cloneNode(true);         mobileMenu.replaceWith(mainNavClone);         mainNavClone.classList.add('processed');         }
2     }
3if(document.querySelector('body.page-node-type-news')){const imageHolder=document.querySelector('.node--type-news .image-holder-container');if(imageHolder){const elementsToMove=[document.querySelector('.node--type-news .field--name-field-news-author'),document.querySelector('.node--type-news .field--name-field-news-date')].filter(Boolean);imageHolder.append(...elementsToMove);}}
4const twoColRGBlocks=document.querySelectorAll('.research-guide-blocks .research-guide-two-columns');twoColRGBlocks.forEach(twoColRGBlock=>{if(twoColRGBlock.children.length===1){twoColRGBlock.classList.remove('research-guide-two-columns');twoColRGBlock.classList.add('research-guide-one-column');}});const ccplWebsiteTwoOptions=document.querySelectorAll('.search-bar-select option[value="sds"]');ccplWebsiteTwoOptions.forEach(ccplWebsiteTwoOption=>{ccplWebsiteTwoOption.remove();});}}})(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.