Skip to content

Commit

Permalink
function not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandotsmith committed Oct 14, 2023
1 parent 718b0b4 commit 7227c97
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions e2pg/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@ <h1>E2PG</h1>
const fieldDiv = taskDiv.querySelector(`.${field}`);
fieldDiv.innerText = val;
};
function updateDest(taskID, destID, field, val) {
const destDiv = document.getElementById(`${taskID}-${destID}`);
const fieldDiv = destDiv.querySelector(`.${field}`);
fieldDiv.innerText = val;
};
document.addEventListener("DOMContentLoaded", function() {
document.addEventListener('keydown', function(e) {
if (e.keyCode == 73) {
Expand All @@ -147,7 +142,7 @@ <h1>E2PG</h1>
update(tu.ID, "NRows", tu.NRows);
for (const [k1, v1] of Object.entries(tu.Dstat)) {
for (const [k2, v2] of Object.entries(v1)) {
updateDest(tu.ID, k1, k2, v2);
update(`${tu.ID}-${k1}`, k2, v2);
}
}
};
Expand Down

0 comments on commit 7227c97

Please sign in to comment.