1$(document).ready(() => { 2 $('.js-search').on('click', function(){ 3 const target = $(this); 4 const searchInput = target.siblings('.js-search__input'); 5 6 if(searchInput.val()){ 7 target.closest('.js-search__form').submit(); 8 return; 9 } 10 11 target.closest('.search__content').toggleClass('search__content--open'); 12 }); 13});
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.