Skip to content

Commit

Permalink
fix #685
Browse files Browse the repository at this point in the history
  • Loading branch information
sstidl authored and stefanstidlffg committed Dec 1, 2024
1 parent 96b0261 commit cc4c2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function startButtonClickHandler() {
* Event listener for clicks on the "Copy link" button in the modal
*/
async function copyLinkButtonClickHandler() {
const link = document.querySelector("#share img").src;
const link = document.querySelector("img#results").src;
await navigator.clipboard.writeText(link);
const button = document.querySelector("#copy-link");
button.classList.add("active");
Expand Down

0 comments on commit cc4c2f8

Please sign in to comment.