Skip to content

Commit

Permalink
Updated selector in chatgpt.getScrollToBottomButton()
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Sep 23, 2024
1 parent 0cbc240 commit 254ee09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ const chatgpt = { // eslint-disable-line no-redeclare

getResponseFromAPI(chatToGet, responseToGet) { return chatgpt.response.getFromAPI(chatToGet, responseToGet); },
getResponseFromDOM(pos) { return chatgpt.response.getFromDOM(pos); },
getScrollToBottomButton() { return document.querySelector('button[class*="cursor"][class*="bottom"]'); },
getScrollToBottomButton() { return document.querySelector('button:has([d^="M12 21C11.7348"])'); },
getSendButton() { return document.querySelector('[data-testid="send-button"]'); },
getStopButton() { return document.querySelector('button[data-testid="stop-button"]'); },

Expand Down

0 comments on commit 254ee09

Please sign in to comment.