summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client
diff options
context:
space:
mode:
authorfoxfire52 <foxfire52@virgilio.it>2024-10-26 12:42:23 +0200
committerGitHub <noreply@github.com>2024-10-26 12:42:23 +0200
commit6f0eae8a067879758bb65ce9f21e6223ba8917e5 (patch)
treece03dad567ef99a55196498882354324d3b1268a /g4f/gui/client
parentClean up highlightjs-copy.min.js (diff)
downloadgpt4free-6f0eae8a067879758bb65ce9f21e6223ba8917e5.tar
gpt4free-6f0eae8a067879758bb65ce9f21e6223ba8917e5.tar.gz
gpt4free-6f0eae8a067879758bb65ce9f21e6223ba8917e5.tar.bz2
gpt4free-6f0eae8a067879758bb65ce9f21e6223ba8917e5.tar.lz
gpt4free-6f0eae8a067879758bb65ce9f21e6223ba8917e5.tar.xz
gpt4free-6f0eae8a067879758bb65ce9f21e6223ba8917e5.tar.zst
gpt4free-6f0eae8a067879758bb65ce9f21e6223ba8917e5.zip
Diffstat (limited to 'g4f/gui/client')
-rw-r--r--g4f/gui/client/static/js/chat.v1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/gui/client/static/js/chat.v1.js b/g4f/gui/client/static/js/chat.v1.js
index 2777e79a..9682de59 100644
--- a/g4f/gui/client/static/js/chat.v1.js
+++ b/g4f/gui/client/static/js/chat.v1.js
@@ -119,7 +119,7 @@ const register_message_buttons = async () => {
await navigator.clipboard.writeText(copyText);
} catch (e) {
console.error(e);
- console.error("Clipboard API failed! Fallback to document.exec("copy")...");
+ console.error("Clipboard API writeText() failed! Fallback to document.exec(\"copy\")...");
fallback_clipboard(copyText);
}