MCPcopy Create free account
hub / github.com/Coneja-Chibi/CarrotKernel / closeCarrotPopup

Function closeCarrotPopup

index.js:3497–3512  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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
3503function 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;

Callers 2

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected