Skip to content

Commit

Permalink
Replaced btnClone.textContent w/ btn.textContent in dismissal str…
Browse files Browse the repository at this point in the history
…ipper for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
  • Loading branch information
kudo-sync-bot committed Dec 3, 2024
1 parent 621114c commit fed0325
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chatgpt/chatgpt-widescreen/chatgpt-widescreen-mode.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
// @description:zu Yengeza Isikrini Esibanzi + Izindlela Zesikrini Esigcwele ku-chatgpt.com + perplexity.ai + poe.com ukuze uthole ukubuka okuthuthukisiwe + okuncishisiwe ukuskrola
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.12.2.1
// @version 2024.12.2.2
// @license MIT
// @compatible chrome
// @compatible firefox
Expand Down Expand Up @@ -683,8 +683,8 @@
const btnClone = btn.cloneNode(true)
btn.parentNode.replaceChild(btnClone, btn) ; btn = btnClone
btn.onclick = () => modals.safeWinOpen(app.urls.donate[
btnClone.textContent == 'Cash App' ? 'cashApp'
: btnClone.textContent == 'GitHub' ? 'gitHub'
btn.textContent == 'Cash App' ? 'cashApp'
: btn.textContent == 'GitHub' ? 'gitHub'
: 'payPal'
])
}
Expand Down

0 comments on commit fed0325

Please sign in to comment.