diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-14 15:04:37 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-14 15:04:37 +0100 |
commit | 32252def150da94f12d1f3c07f977af6d8931402 (patch) | |
tree | 05a94b53b83461b8249de965e093b4fd3722e2d1 /g4f/gui/client/js | |
parent | Refactor code with AI (diff) | |
download | gpt4free-32252def150da94f12d1f3c07f977af6d8931402.tar gpt4free-32252def150da94f12d1f3c07f977af6d8931402.tar.gz gpt4free-32252def150da94f12d1f3c07f977af6d8931402.tar.bz2 gpt4free-32252def150da94f12d1f3c07f977af6d8931402.tar.lz gpt4free-32252def150da94f12d1f3c07f977af6d8931402.tar.xz gpt4free-32252def150da94f12d1f3c07f977af6d8931402.tar.zst gpt4free-32252def150da94f12d1f3c07f977af6d8931402.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/gui/client/js/chat.v1.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/g4f/gui/client/js/chat.v1.js b/g4f/gui/client/js/chat.v1.js index 7ed9f183..8b9bc181 100644 --- a/g4f/gui/client/js/chat.v1.js +++ b/g4f/gui/client/js/chat.v1.js @@ -652,9 +652,9 @@ observer.observe(message_input, { attributes: true }); document.title = 'g4f - gui - ' + versions["version"]; text = "version ~ " - if (versions["version"] != versions["lastet_version"]) { - release_url = 'https://github.com/xtekky/gpt4free/releases/tag/' + versions["lastet_version"]; - text += '<a href="' + release_url +'" target="_blank" title="New version: ' + versions["lastet_version"] +'">' + versions["version"] + ' 🆕</a>'; + if (versions["version"] != versions["latest_version"]) { + release_url = 'https://github.com/xtekky/gpt4free/releases/tag/' + versions["latest_version"]; + text += '<a href="' + release_url +'" target="_blank" title="New version: ' + versions["latest_version"] +'">' + versions["version"] + ' 🆕</a>'; } else { text += versions["version"]; } |