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-Brave Search (inikwa amandla yi-GPT-4o!)
149149// @author KudoAI
150150// @namespace https://kudoai.com
151- // @version 2025.1.12
151+ // @version 2025.1.12.1
152152// @license MIT
153153// @icon https://assets.bravegpt.com/images/icons/bravegpt/icon48.png?v=df624b0
154154// @icon 64 https://assets.bravegpt.com/images/icons/bravegpt/icon64.png?v=df624b0
785785 open ( modalType , modalSubType ) { // custom ones
786786 const modal = modalSubType ? modals [ modalType ] [ modalSubType ] ( )
787787 : ( modals [ modalType ] . show || modals [ modalType ] ) ( )
788+ if ( ! modal ) return // since no div returned
788789 if ( settings . controls [ modalType ] ?. type != 'prompt' ) { // add to stack
789790 this . stack . unshift ( modalSubType ? `${ modalType } _${ modalSubType } ` : modalType )
790791 log . debug ( `Modal stack: ${ JSON . stringify ( modals . stack ) } ` )
798799 } ,
799800
800801 init ( modal ) {
801- if ( ! modal ) return // to support non-div this.open()s
802802 if ( ! this . styles ) this . stylize ( ) // to init/append stylesheet
803803
804804 // Add classes
You can’t perform that action at this time.
0 commit comments