()
| 464 | : ['Summarize the visible files here', 'Which file mentions backup?', 'Compare test.md and notes.md']; |
| 465 | |
| 466 | function openModal() { |
| 467 | if (!backdropEl) return; |
| 468 | backdropEl.hidden = false; |
| 469 | document.body.classList.add('fr-share-ai-modal-open'); |
| 470 | if (inputEl) { |
| 471 | window.setTimeout(function () { |
| 472 | inputEl.focus(); |
| 473 | }, 0); |
| 474 | } |
| 475 | } |
| 476 | |
| 477 | function closeModal() { |
| 478 | if (!backdropEl) return; |