Skip to content

Commit

Permalink
fix JS lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Mar 8, 2024
1 parent d318f21 commit 97b90b5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ document.addEventListener("DOMContentLoaded", () => {
const td = tr.querySelector(".redirect-status");
td.innerHTML = '<span class="loading-spinner"></span>';

fetch(tr.dataset.origin, { method: "HEAD", redirect: "manual" })
.then((response) => {
fetch(tr.dataset.origin, { method: "HEAD", redirect: "manual" }).
then((response) => {
td.innerHTML = getReport(tr, response);
})
.catch((error) => {
}).
catch((error) => {
console.error("ERROR", error);
td.classList.remove("loading");
});
Expand Down

0 comments on commit 97b90b5

Please sign in to comment.