Skip to content

Commit

Permalink
Remove unused DOM elements
Browse files Browse the repository at this point in the history
Changes effectively nothing. Just saves a few unnecessary bytes.
One of the removed variables was the DOM element for the retro computer monitor frame (var overlay = document.getElementById("overlay")), which ended up having no Javascript used on it, and the other was for the ASCII art head at the top (var docHead = document.getElementById("head")), which also never had JS used on it.
  • Loading branch information
266-750Balloons authored Mar 15, 2021
1 parent da684f9 commit a8af905
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ var convert = document.getElementById("convert");
var shellType = document.getElementById("shell");
var copy = document.getElementById("copy");
var copyalert = document.getElementById("copyalert");
var overlay = document.getElementById("overlay");
var docHead = document.getElementById("head");
var hiddenCredit = document.getElementById("hiddenCredit");
var nlCheck = document.getElementById("nlCheck");

Expand Down Expand Up @@ -272,4 +270,4 @@ nlCheck.addEventListener("click", function () {
nlCheck.style.backgroundColor = "black";
nlCheck.style.textShadow = "none";
}
});
});

0 comments on commit a8af905

Please sign in to comment.