1'use strict'; 2 3document.addEventListener('DOMContentLoaded', function() { 4 5 (function headerSearchPlaceholder() { 6 const headerSearch = document.querySelector('header.site-header form.search-form input[type="search"]'); 7 8 if(headerSearch) { 9 headerSearch.setAttribute('placeholder', 'What are you searching for?'); 10 } 11 12 })(); 13 14 (function mainSearchPlaceholder() { 15 const mainSearch = document.querySelector('main form.search-form input[type="search"]'); 16 17 if(mainSearch) { 18 mainSearch.setAttribute('placeholder', 'Find anything (e.g. Keywords, Speakers, etc.)'); 19 } 20 })(); 21 22 const dropdownToggles = document.querySelectorAll('.component--dropdown > button'); 23 24 dropdownToggles.forEach(function(toggle) { 25 toggle.addEventListener('click', function() { 26 let expanded = toggle.getAttribute('aria-expanded') === 'true' || false; 27 28 toggle.setAttribute('aria-expanded', !expanded); 29 }); 30 }); 31});
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.