Skip to content

Commit

Permalink
Corrected btn.textContent check of GitHub Sponsors button in Donate…
Browse files Browse the repository at this point in the history
… modal ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
  • Loading branch information
kudo-sync-bot committed Dec 3, 2024
1 parent e164131 commit 8ded220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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.4
// @version 2024.12.3
// @license MIT
// @compatible chrome
// @compatible firefox
Expand Down Expand Up @@ -684,7 +684,7 @@
btn.parentNode.replaceChild(btnClone, btn) ; btn = btnClone
btn.onclick = () => modals.safeWinOpen(app.urls.donate[
btn.textContent == 'Cash App' ? 'cashApp'
: btn.textContent == 'GitHub' ? 'gitHub'
: btn.textContent == 'Github Sponsors' ? 'gitHub'
: 'payPal'
])
}
Expand Down

0 comments on commit 8ded220

Please sign in to comment.