Skip to content

Commit

Permalink
Updated selector in chatgpt.getRegenerateButton()
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Aug 29, 2024
1 parent 3a57593 commit e3f9a55
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 @@ -878,7 +878,7 @@ const chatgpt = { // eslint-disable-line no-redeclare

getRegenerateButton() {
for (const mainSVG of document.querySelectorAll('main svg')) {
if (mainSVG.querySelector('path[d*="M3.07 10.876C3.623"]')) // regen icon found
if (mainSVG.querySelector('path[d^="M3.06957"]')) // regen icon found
return mainSVG.parentNode;
}},

Expand Down

0 comments on commit e3f9a55

Please sign in to comment.