Skip to content

Commit

Permalink
error reporting in optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Jan 28, 2025
1 parent 1265291 commit b9959cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions webapp/optimized.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ window.addEventListener('load', async () => {
loadAlert.style.display = 'none';
errorAlert.style.display = '';
const msg = document.getElementById('error-message');
if (typeof (msg) === "string")
msg.textContent = err;

msg.textContent = err;
}
})

0 comments on commit b9959cf

Please sign in to comment.