From 61095db50cbc5613ec8d38fdcfbe1add5c16ec77 Mon Sep 17 00:00:00 2001 From: "adamlui@protonmail.com" Date: Sun, 15 Sep 2024 19:31:34 -0700 Subject: [PATCH] Shortened `getContinueGeneratingButton` refs to `getContinueButton` --- docs/USERGUIDE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/USERGUIDE.md b/docs/USERGUIDE.md index 27a71d290..b97f43eaf 100644 --- a/docs/USERGUIDE.md +++ b/docs/USERGUIDE.md @@ -70,7 +70,7 @@ - [DOM related](#dom-related) - [focusChatbar](#focuschatbar) - [getChatBox](#getchatbox) - - [getContinueGeneratingButton](#getcontinuegeneratingbutton) + - [getContinueButton](#getContinueButton) - [getFooterDiv](#getfooterdiv) - [getHeaderDiv](#getheaderdiv) - [getNewChatButton](#getnewchatbutton) @@ -1075,14 +1075,14 @@ const chatbox = chatgpt.getChatBox(); chatgpt.alert(chatbox.value); // Example output: 'Hello from chatgpt.js!' ``` -### getContinueGeneratingButton +### getContinueButton Returns the 'Continue generating' button as an HTML element. Example code: ```js -const continueBtn = chatgpt.getContinueGeneratingButton(); +const continueBtn = chatgpt.getContinueButton(); continueBtn.click(); ```