File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 148148// @description :zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
149149// @author KudoAI
150150// @namespace https://kudoai.com
151- // @version 2025.8.24
151+ // @version 2025.8.24.1
152152// @license MIT
153153// @icon https://assets.ddgpt.com/images/icons/app/icon48.png?v=533ce0f
154154// @icon 64 https://assets.ddgpt.com/images/icons/app/icon64.png?v=533ce0f
20822082 btnsDiv . querySelectorAll ( 'button' ) . forEach ( ( btn , idx ) => {
20832083 if ( idx == 0 ) btn . style . display = 'none' // hide Dismiss button
20842084 else btn . classList . toggle ( 'primary-modal-btn' , // emphasize preferred API
2085- config . preferredAPI . toLowerCase ( ) == btn . textContent . toLowerCase ( )
2085+ config . preferredAPI && config . preferredAPI . toLowerCase ( ) == btn . textContent . toLowerCase ( )
20862086 || btn . textContent == app . msgs . menuLabel_random && ! config . preferredAPI )
20872087 } )
20882088
You can’t perform that action at this time.
0 commit comments