Skip to content

Commit

Permalink
Changed modals.feedback.show() w/ no options passed default to more…
Browse files Browse the repository at this point in the history
… logical show all sites ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
  • Loading branch information
kudo-sync-bot committed Dec 2, 2024
1 parent 886ad92 commit 3790109
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chatgpt/duckduckgpt/duckduckgpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.7
// @version 2024.12.1.8
// @license MIT
// @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302
// @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302
Expand Down Expand Up @@ -1011,7 +1011,7 @@

// Init buttons
let btns = [ function greasyFork(){}, function productHunt(){}, function alternativeTo() {} ]
if (options?.sites == 'feedback') btns.splice(1, 0, function github(){})
if (options?.sites != 'review') btns.splice(1, 0, function github(){})

// Create/init modal
const feedbackModal = siteAlert(`${app.msgs.alert_choosePlatform}:`, '', btns, '', 408)
Expand Down

0 comments on commit 3790109

Please sign in to comment.