Open justincontributor opened 8 months ago
Thanks - I will look into it. Is there any particular reason you are suggesting this?
Hi, Yes, the reason is that there are changes with the buttons from time to time. Getting the button by ":last" could fail one day if another button comes up with a new chatpt option. With that, you would be more sure that you enable or click the good one.
It's not (yet) a bug. No hurry.
Hello, Thanks for this great extension.
function CN_SendMessage
rather than the hazardous : jQuery("#prompt-textarea").closest("div").find("button:last")
I propose : jQuery('[data-testid="send-button"]')