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 a799c97 commit 146c53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/optimized.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ window.addEventListener('load', async () => {
document.getElementById("clash-optimized").textContent = formatter.format(+result.clash.after);

const link = document.getElementById('model-link');
link.href = "data:text/plain;charset=utf-8," + encodeURIComponent(result.model);
link.href = "data:text/plain;charset=utf-8," + encodeURIComponent(data.model);
link.download = `${AF_ID}-${ASYM_ID}-optimized.cif`;

document.getElementById('link-table').classList.remove('invisible');
Expand Down

0 comments on commit 146c53a

Please sign in to comment.