Skip to content

Commit 068f17b

Browse files
adamluikudo-sync-bot
authored andcommitted
Corrected chatgpt.sidebar.isloaded() to camel case + added lowercase alias ↞ [auto-sync from KudoAI/chatgpt.js]
1 parent 0e15107 commit 068f17b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

starters/chrome/extension/lib/chatgpt.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,7 @@ const chatgpt = { // eslint-disable-line no-redeclare
17611761
if (isToggleBtn(btn)) { btn.click(); return; }
17621762
},
17631763

1764-
isloaded: function() {
1764+
isLoaded: function() {
17651765
return new Promise(resolve => {
17661766
(function checkIsLoaded() {
17671767
if (document.querySelector('nav a[href="/"]')) resolve(true);
@@ -1888,6 +1888,7 @@ const funcAliases = [
18881888
['getStopGeneratingButton', 'getStopButton'],
18891889
['getTextarea', 'getTextArea', 'getChatbox', 'getChatBox'],
18901890
['isFullScreen', 'isFullscreen'],
1891+
['isLoaded', 'isloaded'],
18911892
['logOut', 'logout', 'logOff', 'logoff', 'signOut', 'signout', 'signOff', 'signoff'],
18921893
['minify', 'codeMinify', 'minifyCode'],
18931894
['new', 'newChat', 'startNewChat'],

starters/chrome/extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "ChatGPT Extension",
44
"description": "A Chrome template to start using chatgpt.js like a boss!",
5-
"version": "2024.5.17.1",
5+
"version": "2024.5.17",
66
"author": "chatgpt.js",
77
"icons": {
88
"16": "icons/icon16.png",

0 commit comments

Comments
 (0)