Skip to content

Commit

Permalink
Updated node returned by .getRegenerateButton() to be button
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui authored May 9, 2024
1 parent 1dc1495 commit 7528773
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 @@ -870,7 +870,7 @@ const chatgpt = { // eslint-disable-line no-redeclare
getRegenerateButton: function() {
for (const mainSVG of document.querySelectorAll('main svg')) {
if (mainSVG.querySelector('path[d*="M3.07 10.876C3.623"]')) // regen icon found
return mainSVG.parentNode.parentNode;
return mainSVG.parentNode;
}},

getResponse: function() {
Expand Down

0 comments on commit 7528773

Please sign in to comment.