From 6f0eae8a067879758bb65ce9f21e6223ba8917e5 Mon Sep 17 00:00:00 2001 From: foxfire52 Date: Sat, 26 Oct 2024 12:42:23 +0200 Subject: Clean up chat.v1.js --- g4f/gui/client/static/js/chat.v1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/gui/client/static/js') 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); } -- cgit v1.2.3