Skip to content

Commit

Permalink
Added missing getStopButton()
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Jan 31, 2025
1 parent 4af3dd3 commit 658bb54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions chatgpt-widescreen/chromium/extension/lib/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ const chatgpt = {

getNewChatLink() { return document.querySelector('nav a[href="/"]'); },
getSendButton() { return document.querySelector('[data-testid=send-button]'); },
getStopButton() { return document.querySelector('button[data-testid=stop-button]'); },
isDarkMode() { return document.documentElement.classList.toString().includes('dark'); },

async isLoaded(timeout = null) {
Expand Down
1 change: 1 addition & 0 deletions chatgpt-widescreen/firefox/extension/lib/chatgpt.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ const chatgpt = {

getNewChatLink() { return document.querySelector('nav a[href="/"]'); },
getSendButton() { return document.querySelector('[data-testid=send-button]'); },
getStopButton() { return document.querySelector('button[data-testid=stop-button]'); },
isDarkMode() { return document.documentElement.classList.toString().includes('dark'); },

async isLoaded(timeout = null) {
Expand Down

0 comments on commit 658bb54

Please sign in to comment.