Branding fix: inject custom.css via source patch and add auto‑load JS

This commit is contained in:
Nathan Schneider committed 2026-10-18 21:25:00 -06:00
1 parent 20be88f6e7
commit 2e8002d6c2
3 files changed
+21 -5

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
// Auto‑load saved image generation API key into the MCP input field
window.addEventListener('load', () => {
const savedKey = localStorage.getItem('image_api_key');
if (savedKey) {
const icInput = document.querySelector('input[name="IC_API_KEY"]');
if (icInput) icInput.value = savedKey;
}
});