1if ( document.getElementById('cartSpecialInstructions') ) { 2 3 KROWN.saveToSessionStorage = () => { 4 const specialInstructions = document.getElementById('cartSpecialInstructions').value; 5 sessionStorage.setItem('cartSpecialInstructions', specialInstructions); 6 } 7 document.getElementById('cartSpecialInstructions').addEventListener('input', KROWN.saveToSessionStorage); 8 9 KROWN.loadFromSessionStorage = () => { 10 const savedInstructions = sessionStorage.getItem('cartSpecialInstructions'); 11 if ( savedInstructions ) { 12 document.getElementById('cartSpecialInstructions').value = savedInstructions; 13 } 14 } 15 document.addEventListener('DOMContentLoaded', KROWN.loadFromSessionStorage); 16 17}
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.