Skip to content

Commit

Permalink
Renamed reviewModal to feedbackModal for consistency w/ my other …
Browse files Browse the repository at this point in the history
…userscripts ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
  • Loading branch information
kudo-sync-bot committed Dec 2, 2024
1 parent 4bb78c8 commit ce256ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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.1.9
// @version 2024.12.1.10
// @license MIT
// @compatible chrome
// @compatible firefox
Expand Down Expand Up @@ -692,15 +692,15 @@

feedback: {
show() {
const reviewModal = siteAlert(
const feedbackModal = siteAlert(
`${app.msgs.alert_choosePlatform}:`, '', // title
[ // buttons
function greasyFork() { modals.safeWinOpen(app.urls.review.greasyFork) },
function productHunt() { modals.safeWinOpen(app.urls.review.productHunt) }
]
)
reviewModal.querySelector('button').style.display = 'none' // hide Dismiss button
reviewModal.addEventListener('DOMNodeRemoved', () => modals[modals.stack[0]]?.show() ) // nav back
feedbackModal.querySelector('button').style.display = 'none' // hide Dismiss button
feedbackModal.addEventListener('DOMNodeRemoved', () => modals[modals.stack[0]]?.show() ) // nav back
}
},

Expand Down

0 comments on commit ce256ab

Please sign in to comment.