Skip to content

Commit

Permalink
fixed tables not clearing on new file load
Browse files Browse the repository at this point in the history
#12

silly typo; corrected innerHtml to innerHTML
  • Loading branch information
JC3 committed Apr 4, 2022
1 parent 665f243 commit cd7febb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions harextract.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
loaded = {};
uiSetDocState(false);
uiSetZipState(false);
document.querySelectorAll(".clearme").forEach((el) => el.innerHtml = '');
document.querySelectorAll(".clearme").forEach((el) => el.innerHTML = '');
}
function strCompare (a, b) {
return a.toLocaleLowerCase().localeCompare(b.toLocaleLowerCase());
Expand Down Expand Up @@ -246,7 +246,7 @@
let ebody;
{
let etable = document.getElementById(tableid);
etable.innerHtml = '';
etable.innerHTML = '';
let header = etable.createTHead().insertRow();
for (field of fields)
domAppendTH(header).innerText = field.name;
Expand Down

0 comments on commit cd7febb

Please sign in to comment.