Skip to content

Commit

Permalink
Added optional chaining to options check in `modals.feedback.show()…
Browse files Browse the repository at this point in the history
…` for futureproofing ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
  • Loading branch information
kudo-sync-bot committed Dec 1, 2024
1 parent daf66d7 commit bbac36e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chatgpt/bravegpt/bravegpt.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-Brave Search (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.12.1
// @version 2024.12.1.1
// @license MIT
// @icon https://media.bravegpt.com/images/icons/bravegpt/icon48.png?0a9e287
// @icon64 https://media.bravegpt.com/images/icons/bravegpt/icon64.png?0a9e287
Expand Down Expand Up @@ -993,7 +993,7 @@
function productHunt() { modals.safeWinOpen(app.urls.review.productHunt) },
function alternativeTo() { modals.safeWinOpen(app.urls.review.alternativeTo) }
]
if (options.sites == 'feedback') btns.splice(1, 0,
if (options?.sites == 'feedback') btns.splice(1, 0,
function github() { modals.safeWinOpen(app.urls.gitHub + '/discussions/new/choose') })

// Create/init modal
Expand Down

0 comments on commit bbac36e

Please sign in to comment.