1document.querySelectorAll(".contact-form .field__input").forEach(function(el) { 2 el.addEventListener("input", toggleClass); 3} 4); 5document.querySelectorAll(".contact-form .select__select").forEach(function(el) { 6 el.addEventListener("input", toggleClass); 7} 8); 9 10function toggleClass(e) { 11 e.target.value != '' ? e.target.closest('.field').classList.add('focused-field') : e.target.closest('.field').classList.remove('focused-field'); 12}
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.