1window.addEventListener('DOMContentLoaded', function() { 2 // const avedaCont = document.querySelector('#barber').closest('tr'); 3 // const stockCont = document.querySelector('#blackwhite').closest('tr'); 4 5 // const imgsetInputs = document.querySelectorAll('input[name="imageset_collection"]'); 6 // let selectedInput = Array.from(imgsetInputs).find(input => { 7 // if (input.checked) { 8 // return input; 9 // } 10 // }); 11 12 // const filterCollections = (e = selectedInput) => { 13 // if (e.value === 'aveda') { 14 // avedaCont.style.display = 'table-row'; 15 // stockCont.style.display = 'none'; 16 // } else if (e.value === 'stock') { 17 // stockCont.style.display = 'table-row'; 18 // avedaCont.style.display = 'none'; 19 // } else { 20 // return; 21 // } 22 // } 23 // filterCollections(); 24 25 // [avedaCont, stockCont].forEach(function(cont) { 26 // if (selectedInput.value === 'aveda') { 27 // avedaCont.style.display = 'table-row'; 28 // stockCont.style.display = 'none'; 29 // } else if (selectedInput.value === 'stock') { 30 // stockCont.style.display = 'table-row'; 31 // avedaCont.style.display = 'none'; 32 // } else { 33 // return; 34 // } 35 // }); 36 37 38 // imgsetInputs.forEach(input => input.addEventListener('click', e => { 39 // selectedInput = e.target; 40 // filterCollections(); 41 // })); 42 43});
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.