Skip to content

Commit

Permalink
Added post-GPT-4o UI support to getStopGeneratingButton()
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed May 17, 2024
1 parent a283492 commit 635131b
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 @@ -895,7 +895,7 @@ const chatgpt = { // eslint-disable-line no-redeclare

getStopGeneratingButton: function() {
for (const svg of document.querySelectorAll('form button svg')) {
if (svg.querySelector('path[d*="2 0 0 1 2"]'))
if (svg.querySelector('path[d*="2 0 0 1 2"], rect'))
return svg.parentNode;
}},

Expand Down

0 comments on commit 635131b

Please sign in to comment.