mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
control auto-refresh models
This commit is contained in:
@@ -103,7 +103,7 @@ function initContextMenu() {
|
||||
}
|
||||
};
|
||||
|
||||
for (const tab of ['txt2img', 'img2img']) {
|
||||
for (const tab of ['txt2img', 'img2img', 'control']) {
|
||||
for (const el of ['generate', 'interrupt', 'skip', 'pause', 'paste', 'clear_prompt', 'extra_networks_btn']) {
|
||||
const id = `#${tab}_${el}`;
|
||||
appendContextMenuOption(id, 'Copy to clipboard', () => navigator.clipboard.writeText(document.querySelector(`#${tab}_prompt > label > textarea`).value));
|
||||
|
||||
Reference in New Issue
Block a user