Skip to content

Commit

Permalink
remove infinite loop!!!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco committed Aug 2, 2023
1 parent da81d1b commit 86d5127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ <h4>Known Exploited Vulnerabilities Insights</h4>

report = add_cve_knownledge(report, kev, itw, nuc);

while(table.rows.length > 0) {
while(tbody.rows.length > 0) {
tbody.deleteRow(-1);
}

Expand Down Expand Up @@ -225,7 +225,7 @@ <h4>Known Exploited Vulnerabilities Insights</h4>
th.addEventListener("click", () => {
const rows = Array.from(tBody.rows);

while(table.rows.length > 0) {
while(tbody.rows.length > 0) {
tbody.deleteRow(-1);
}

Expand Down

0 comments on commit 86d5127

Please sign in to comment.