sstidl hace 1 año
padre
commit
a02f4e3e2a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      frontend/javascript/index.js

+ 1 - 1
frontend/javascript/index.js

@@ -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");