Skip to content

Commit

Permalink
fix optimise
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Jan 28, 2025
1 parent 146c53a commit 8feb454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/optimized.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ window.addEventListener('load', async () => {
maximumFractionDigits: 2,
});

document.getElementById("clash-original").textContent = formatter.format(+result.clash.before);
document.getElementById("clash-optimized").textContent = formatter.format(+result.clash.after);
document.getElementById("clash-original").textContent = formatter.format(+data.clash.before);
document.getElementById("clash-optimized").textContent = formatter.format(+data.clash.after);

const link = document.getElementById('model-link');
link.href = "data:text/plain;charset=utf-8," + encodeURIComponent(data.model);
Expand Down

0 comments on commit 8feb454

Please sign in to comment.