File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/addons/addons/ai-integration Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default class main {
3030 fileAttachmentType = String ( fileAttachmentType ) ;
3131 if ( document . getElementById ( "popupParentDiv" ) != null || document . AI_INTEGRATION . popupOpen ) { //reopen the popup
3232 document . AI_INTEGRATION . popupOpen = true ;
33- document . getElementById ( "popupParentDiv" ) . style . display = '' ;
33+ document . getElementById ( "popupParentDiv" ) . style . display = 'flex ' ;
3434 document . getElementById ( "popupParentDiv" ) . style . zIndex = 509 ;
3535 //FINISH ADDING SUPPORT TO reopening popup
3636 var textareaa = document . getElementById ( 'auto-resizing-textarea' ) ;
@@ -663,8 +663,8 @@ export default class main {
663663 }
664664 let currentWidth = 150 ;
665665 for ( var xx = 0 ; xx < document . getElementById ( `CODEBLOCK_${ randomId } _${ i } ` ) . children [ 0 ] . children . length ; xx ++ ) { //each top level block
666- if ( document . getElementById ( "popupParentDiv" ) . style . display != "" ) {
667- document . getElementById ( "popupParentDiv" ) . style . display = '' ;
666+ if ( document . getElementById ( "popupParentDiv" ) . style . display != "flex " ) {
667+ document . getElementById ( "popupParentDiv" ) . style . display = 'flex ' ;
668668 document . getElementById ( "popupParentDiv" ) . style . zIndex = 509 ;
669669 }
670670
You can’t perform that action at this time.
0 commit comments