From eddd4d850a15c5b52230a27fc1dee4a15990769c Mon Sep 17 00:00:00 2001 From: assafelovic Date: Mon, 13 Nov 2023 20:16:47 +0200 Subject: [PATCH] fixed copy to clipboard --- frontend/index.html | 2 +- frontend/scripts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index e51da55c9..6ef261fd2 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -95,7 +95,7 @@

Research Report

- Copy to clipboard + Copy to clipboard Download as PDF
diff --git a/frontend/scripts.js b/frontend/scripts.js index e423efec6..d46023d08 100644 --- a/frontend/scripts.js +++ b/frontend/scripts.js @@ -2,7 +2,7 @@ const GPTResearcher = (() => { const init = () => { // Not sure, but I think it would be better to add event handlers here instead of in the HTML //document.getElementById("startResearch").addEventListener("click", startResearch); - //document.getElementById("copyToClipboard").addEventListener("click", copyToClipboard); + document.getElementById("copyToClipboard").addEventListener("click", copyToClipboard); updateState("initial"); }