()
| 3495 | display: $overlay.css('display'), |
| 3496 | width: $overlay.css('width'), |
| 3497 | height: $overlay.css('height'), |
| 3498 | position: $overlay.css('position') |
| 3499 | }); |
| 3500 | } |
| 3501 | |
| 3502 | // Close the popup overlay |
| 3503 | function closeCarrotPopup() { |
| 3504 | $('#carrot-popup-overlay').removeClass('active'); |
| 3505 | $('#carrot-popup-container').removeClass('carrot-repo-browser-popup'); |
| 3506 | setTimeout(() => { |
| 3507 | $('#carrot-popup-overlay').hide(); |
| 3508 | $('.carrot-tutorial-highlight').removeClass('carrot-tutorial-highlight'); |
| 3509 | |
| 3510 | // Clean up popup content to prevent state issues on reopen |
| 3511 | $('#carrot-popup-container').empty(); |
| 3512 | |
| 3513 | // Reset template editor instance so it reinitializes cleanly next time |
| 3514 | if (carrotTemplatePromptEditInterface) { |
| 3515 | carrotTemplatePromptEditInterface = null; |
no outgoing calls
no test coverage detected