Skip to content

Commit

Permalink
fix #685
Browse files Browse the repository at this point in the history
  • Loading branch information
sstidl committed Nov 30, 2024
1 parent 74644b0 commit a02f4e3
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 a02f4e3

Please sign in to comment.