From 3feedba4d0e0b65e40334886de3ecabadc648795 Mon Sep 17 00:00:00 2001 From: kudo-sync-bot Date: Tue, 3 Dec 2024 05:55:18 -0800 Subject: [PATCH] =?UTF-8?q?Replaced=20dismissAlert()=20in=20comments=20w/?= =?UTF-8?q?=20natural=20lang=20to=20avoid=20confusion=20since=20def=20in?= =?UTF-8?q?=20chatgpt.js=20=E2=86=9E=20[auto-sync=20from=20https://github.?= =?UTF-8?q?com/adamlui/ai-web-extensions]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- greasemonkey/duckduckgpt.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/greasemonkey/duckduckgpt.user.js b/greasemonkey/duckduckgpt.user.js index b09a18c2c0f..6691f103675 100644 --- a/greasemonkey/duckduckgpt.user.js +++ b/greasemonkey/duckduckgpt.user.js @@ -148,7 +148,7 @@ // @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!) // @author KudoAI // @namespace https://kudoai.com -// @version 2024.12.3.2 +// @version 2024.12.3.3 // @license MIT // @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302 // @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302 @@ -994,7 +994,7 @@ aboutModal.querySelectorAll('button').forEach(btn => { btn.style.cssText = 'height: 52px ; min-width: 136px' - // Replace link buttons w/ clones that don't dismissAlert() + // Replace link buttons w/ clones that don't dismiss modal if (/support|extensions/i.test(btn.textContent)) { const btnClone = btn.cloneNode(true) btn.parentNode.replaceChild(btnClone, btn) ; btn = btnClone @@ -1046,7 +1046,7 @@ if (idx == btns.length -1) btn.classList.remove('primary-modal-btn') // de-emphasize last link btn.style.marginTop = btn.style.marginBottom = '5px' // v-pad btns - // Replace buttons w/ clones that don't dismissAlert() + // Replace buttons w/ clones that don't dismiss modal const btnClone = btn.cloneNode(true) btn.parentNode.replaceChild(btnClone, btn) ; btn = btnClone btn.onclick = () => modals.safeWinOpen(