1if(document.getElementById("myModal") != undefined){ 2 //var btn = document.getElementById("myBtn"); 3 //btn.onclick = function() {modal.style.display = "block";} 4 5 // Get the modal 6 var modal = document.getElementById('myModal'); 7 8 // When the user clicks anywhere outside of the modal, close it 9 window.onclick = function(event) { 10 if (event.target == modal) { 11 modal.style.display = "none"; 12 } 13 } 14} 15 16// CLOSES MODAL WITH ESCAPE KEY 17$(document).keyup(function(e) { 18 if (e.key === "Escape") { // escape key maps to keycode `27` 19 var modals = document.getElementsByClassName("modal"); 20 for (var i = 0; i < modals.length; i++) { 21 modals[i].style.display = "none"; 22 } 23 } 24}); 25
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.