From 5bd85500bf966c0f64b900395a979dfe71916091 Mon Sep 17 00:00:00 2001 From: mic Date: Wed, 8 May 2024 23:31:50 +0200 Subject: [PATCH] updated chatgpt_getRegenerateButton to correctly handling a change in the ChatGPT web interface. related to #43 --- js/mzta-chatgpt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index ecee2635..54d325e4 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -46,7 +46,7 @@ async function chatgpt_isIdle() { function chatgpt_getRegenerateButton() { for (const mainSVG of document.querySelectorAll('main svg')) { - if (mainSVG.querySelector('path[d*="M4.5 2.5C5.05228"]')) // regen icon found + if (mainSVG.querySelector('path[d*="M3.07 10.876C3.623"]')) // regen icon found return mainSVG.parentNode.parentNode; } }