Skip to content

Commit 441f63a

Browse files
committed
Condensed update.replyPrefix() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/bravegpt]
1 parent 83658a0 commit 441f63a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

chatgpt/bravegpt/bravegpt.user.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
// @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2025.9.15.1
151+
// @version 2025.9.16
152152
// @license MIT
153153
// @icon https://assets.bravegpt.com/images/icons/app/icon48.png?v=e8ca7c2
154154
// @icon64 https://assets.bravegpt.com/images/icons/app/icon64.png?v=e8ca7c2
@@ -1063,8 +1063,7 @@
10631063
},
10641064

10651065
replyPrefix() {
1066-
const firstP = app.div.querySelector('pre p')
1067-
if (!firstP) return
1066+
const firstP = app.div.querySelector('pre p') ; if (!firstP) return
10681067
const prefixNeeded = env.ui.app.scheme == 'dark'
10691068
&& !config.bgAnimationsDisabled && !/shuffle|summarize/.test(get.reply.src)
10701069
const prefixExists = firstP.textContent.startsWith('>> ')

0 commit comments

Comments
 (0)