Branding fix: inject custom.css via source patch and add auto‑load JS
This commit is contained in:
1 parent
20be88f6e7
commit
2e8002d6c2
3 files changed
+21
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user