Skip to content

Commit 9bbce0d

Browse files
committed
now it should actually be fixed
1 parent 97dcc7d commit 9bbce0d

File tree

1 file changed

+3
-3
lines changed
  • src/addons/addons/ai-integration

1 file changed

+3
-3
lines changed

src/addons/addons/ai-integration/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)