summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-02-11 03:33:02 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-02-11 03:33:02 +0100
commitdaf2b6ac3bf607f4f2e279545125c7559edb450e (patch)
treed3d4e1b48587682890817a18295a8eda76e7afed /g4f/gui/client
parentAdd GPT 4 support in You, Add camera input, Enable logging on debug in GUI, Don't load expired cookies (diff)
downloadgpt4free-daf2b6ac3bf607f4f2e279545125c7559edb450e.tar
gpt4free-daf2b6ac3bf607f4f2e279545125c7559edb450e.tar.gz
gpt4free-daf2b6ac3bf607f4f2e279545125c7559edb450e.tar.bz2
gpt4free-daf2b6ac3bf607f4f2e279545125c7559edb450e.tar.lz
gpt4free-daf2b6ac3bf607f4f2e279545125c7559edb450e.tar.xz
gpt4free-daf2b6ac3bf607f4f2e279545125c7559edb450e.tar.zst
gpt4free-daf2b6ac3bf607f4f2e279545125c7559edb450e.zip
Diffstat (limited to '')
-rw-r--r--g4f/gui/client/js/chat.v1.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/g4f/gui/client/js/chat.v1.js b/g4f/gui/client/js/chat.v1.js
index 4b2f1c1a..a925572a 100644
--- a/g4f/gui/client/js/chat.v1.js
+++ b/g4f/gui/client/js/chat.v1.js
@@ -677,7 +677,7 @@ observer.observe(message_input, { attributes: true });
}
document.getElementById("version_text").innerHTML = text
})()
-for (el of [imageInput, cameraInput]) {
+for (const el of [imageInput, cameraInput]) {
console.log(el.files);
el.addEventListener('click', async () => {
el.value = '';
@@ -690,7 +690,6 @@ for (el of [imageInput, cameraInput]) {
const reader = new FileReader();
reader.addEventListener('load', (event) => {
el.dataset.src = event.target.result;
- console.log(el.dataset.src);
});
reader.readAsDataURL(el.files[0]);
}