Skip to content

Commit

Permalink
Merge pull request #5 from hida099/patch-1
Browse files Browse the repository at this point in the history
Cleaned a little
  • Loading branch information
najmiter authored Jan 16, 2024
2 parents c6c1297 + 64a682e commit e179e7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ const chittify = () => {

DOM.push(newbie);
}
const output = document.getElementById("output-text");
output.innerHTML = "";

output_text.innerHTML = "";
const pre = document.createElement("pre");

// let i = 1;
Expand All @@ -212,7 +212,7 @@ const chittify = () => {
pre.appendChild(e);
});

output.appendChild(pre);
output_text.appendChild(pre);
};

const handle_tab = (btn) => {
Expand Down

0 comments on commit e179e7e

Please sign in to comment.