Skip to content

Commit

Permalink
Merge pull request #9 from ryantusi/branch2
Browse files Browse the repository at this point in the history
Fully Functional
  • Loading branch information
ryantusi authored Nov 20, 2023
2 parents b240842 + 2fc795f commit b067da6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/script.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
const generated_file = document.getElementById("file");
const copy = document.getElementById("copy");
const text = document.getElementById("file");

document.addEventListener('DOMContentLoaded', function () {
generated_file.style.display = "none";
copy.style.display = "none";
copy.style.display = "none"
text.innerHTML = "";
});

const programming = [
Expand Down Expand Up @@ -653,8 +656,6 @@ const generate = document.getElementById("generate");
generate.addEventListener('click', generate_README);

const copyText = () => {
const text = document.getElementById("file");

text.select();
text.setSelectionRange(0, 99999);

Expand Down

0 comments on commit b067da6

Please sign in to comment.